CMake/Help/variable/CMAKE_XCODE_SCHEME_ENVIRONMENT.rst
Felix Heidrich f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable
Initialize the `XCODE_SCHEME_ENVIRONMENT` target property.

This was left out of commit 6b7f1e1db0 (Xcode: Add variables and
properties to configure schemes, 2018-07-29, v3.13.0-rc1~243^2).
2019-10-24 11:24:34 -04:00

16 lines
531 B
ReStructuredText

CMAKE_XCODE_SCHEME_ENVIRONMENT
------------------------------
Specify environment variables that should be added to the Arguments
section of the generated Xcode scheme.
If set to a list of environment variables and values of the form
``MYVAR=value`` those environment variables will be added to the
scheme.
This variable initializes the :prop_tgt:`XCODE_SCHEME_ENVIRONMENT`
property on all targets.
Please refer to the :prop_tgt:`XCODE_GENERATE_SCHEME` target property
documentation to see all Xcode schema related properties.