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).
This commit is contained in:
Felix Heidrich
2019-10-17 12:45:20 +02:00
committed by Brad King
parent 095fc6d9d9
commit f0005dacde
4 changed files with 22 additions and 0 deletions
@@ -0,0 +1,15 @@
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.