summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorFelix Heidrich <felix@tulip.co>2019-10-17 10:45:20 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-24 15:24:34 (GMT)
commitf0005dacdeb04be2d3777735af938ff76d9e3ad5 (patch)
tree0f2c14581e5ea659254eaa4409a5957c2753a64f /Help/variable
parent095fc6d9d96bf9f12770f85ebf0b75d384a7d5fb (diff)
downloadCMake-f0005dacdeb04be2d3777735af938ff76d9e3ad5.zip
CMake-f0005dacdeb04be2d3777735af938ff76d9e3ad5.tar.gz
CMake-f0005dacdeb04be2d3777735af938ff76d9e3ad5.tar.bz2
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).
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_XCODE_SCHEME_ENVIRONMENT.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_XCODE_SCHEME_ENVIRONMENT.rst b/Help/variable/CMAKE_XCODE_SCHEME_ENVIRONMENT.rst
new file mode 100644
index 0000000..4832659
--- /dev/null
+++ b/Help/variable/CMAKE_XCODE_SCHEME_ENVIRONMENT.rst
@@ -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.