Русский (Russian)
Appearance
STRUCT
BuildableFolderException
Contents
excluded
compilerFlags
publicHeaders
privateHeaders
exception(excluded:compilerFlags:publicHeaders:privateHeaders:)
public struct BuildableFolderException: Sendable, Codable, Equatable, Hashable
Represents exceptions for a buildable folder, such as files to exclude or specific compiler flags to apply.
excluded
public var excluded: [String]
A list of absolute paths to files excluded from the buildable folder.
compilerFlags
public var compilerFlags: [String: String]
A dictionary mapping files (referenced by their absolute path) to the compiler flags to apply.
publicHeaders
public var publicHeaders: [String]
A list of relative paths to headers that should be public (by default they have project access level)
privateHeaders
public var privateHeaders: [String]
A list of relative paths to headers that should be private (by default they have project access level)
exception(excluded:compilerFlags:publicHeaders:privateHeaders:)
public static func exception(
excluded: [String] = [],
compilerFlags: [String: String] = [:],
publicHeaders: [String] = [],
privateHeaders: [String] = []
) -> BuildableFolderException
Creates a new BuildableFolderException using the given excluded files and compiler flags.
Name | Description |
---|---|
excluded | An array of absolute paths to files that should be excluded from the buildable folder. |
compilerFlags | A dictionary mapping absolute file paths to specific compiler flags to apply to those files. |