Global options configure the tool environment: paths to compilers, SDKs, and build tools. They are available on every scd command.
Settings are resolved in the following priority order (highest to lowest):
- Command-line flags
- Settings file specified via
--settings
- Environment variables (see Environment Variables)
- Global settings file at
~/.scade/settings.yaml
| Option | Description |
|---|
--settings <path> | Path to a YAML settings file |
--xcode <path> | Path to Xcode installation |
--swift-toolchain <path> | Path to Swift toolchain for Apple platforms |
--cmake <path> | Path to CMake executable |
--swift-build <path> | Path to swift build executable |
--force-install | Install required toolchains without prompting |
--verbose | Enable verbose output |
| Option | Description |
|---|
--android-swift-toolchain <path> | Path to Swift toolchain for Android |
--android-sdk <path> | Path to Android SDK |
--android-ndk <path> | Path to Android NDK |
--jdk <path> | Path to Java JDK, used for Android builds and compiling Java sources |
--android-gradle <path> | Path to Gradle build tool. Gradle from SCADE SDK is used by default |
--android-sdk-layout <type> | Swift SDK layout: autodetect (default), legacy, or standalone. See Platforms |
| Option | Description |
|---|
--package-manager <type> | Toolchain package manager: auto (default), none, brew, scade |
--package-manager-repository <url|name> | URL or name of the package manager manifest |
--install-path <path> | Custom toolchain installation directory. Only valid with --package-manager scade |