• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_CROSS_CONFIGS
2-------------------
3
4.. versionadded:: 3.17
5
6Specifies a :ref:`semicolon-separated list <CMake Language Lists>` of
7configurations available from all ``build-<Config>.ninja`` files in the
8:generator:`Ninja Multi-Config` generator.  This variable activates
9cross-config mode. Targets from each config specified in this variable can be
10built from any ``build-<Config>.ninja`` file. Custom commands will use the
11configuration native to ``build-<Config>.ninja``. If it is set to ``all``, all
12configurations from :variable:`CMAKE_CONFIGURATION_TYPES` are cross-configs. If
13it is not specified, or empty, each ``build-<Config>.ninja`` file will only
14contain build rules for its own configuration.
15
16The value of this variable must be a subset of
17:variable:`CMAKE_CONFIGURATION_TYPES`.
18