summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/XCODE_SCHEME_ENVIRONMENT.rst
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2018-07-29 19:37:18 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-01 13:12:42 (GMT)
commit6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b (patch)
treec1a0601913c23007b1bddf1e02e10f50f42e5094 /Help/prop_tgt/XCODE_SCHEME_ENVIRONMENT.rst
parent39c91d07035d6fb8bddc6e02ee391a0f095e47ee (diff)
downloadCMake-6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b.zip
CMake-6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b.tar.gz
CMake-6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b.tar.bz2
Xcode: Add variables and properties to configure schemes
Add `XCODE_SCHEME_*` target properties and associated variables `CMAKE_XCODE_SCHEME_*` to initialize them on target creation. Map each target property value to an associated Xcode scheme entry. Co-Author: Martin Sander <mail@martin-sander.de> Fixes: #17919
Diffstat (limited to 'Help/prop_tgt/XCODE_SCHEME_ENVIRONMENT.rst')
-rw-r--r--Help/prop_tgt/XCODE_SCHEME_ENVIRONMENT.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/prop_tgt/XCODE_SCHEME_ENVIRONMENT.rst b/Help/prop_tgt/XCODE_SCHEME_ENVIRONMENT.rst
new file mode 100644
index 0000000..1dbd6c4
--- /dev/null
+++ b/Help/prop_tgt/XCODE_SCHEME_ENVIRONMENT.rst
@@ -0,0 +1,12 @@
+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.
+
+Please refer to the :variable:`CMAKE_XCODE_GENERATE_SCHEME` variable
+documentation to see all Xcode schema related properties.