Skip to content

Global Options

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):

  1. Command-line flags
  2. Settings file specified via --settings
  3. Environment variables (see Environment Variables)
  4. Global settings file at ~/.scade/settings.yaml
OptionDescription
--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-installInstall required toolchains without prompting
--verboseEnable verbose output
OptionDescription
--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
OptionDescription
--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