CMAKE_CROSS_CONFIGS.rst 773 B

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