summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-14 11:09:41 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-14 11:10:06 (GMT)
commitab9be6662f3ab7bf93a5793395d0aeb3c2297e86 (patch)
treec242284b8d39177d17dfb77e82d8bbb8a5b9b49c /Help
parent4c82f309c59d02899145bc25c0e9efc91a6f64ed (diff)
downloadCMake-ab9be6662f3ab7bf93a5793395d0aeb3c2297e86.zip
CMake-ab9be6662f3ab7bf93a5793395d0aeb3c2297e86.tar.gz
CMake-ab9be6662f3ab7bf93a5793395d0aeb3c2297e86.tar.bz2
Help: Document OBJC and OBJCXX env vars for Objective C/C++ compilers
Diffstat (limited to 'Help')
-rw-r--r--Help/envvar/OBJC.rst11
-rw-r--r--Help/envvar/OBJCXX.rst11
-rw-r--r--Help/manual/cmake-env-variables.7.rst2
3 files changed, 24 insertions, 0 deletions
diff --git a/Help/envvar/OBJC.rst b/Help/envvar/OBJC.rst
new file mode 100644
index 0000000..dda809c
--- /dev/null
+++ b/Help/envvar/OBJC.rst
@@ -0,0 +1,11 @@
+OBJC
+----
+
+.. include:: ENV_VAR.txt
+
+Preferred executable for compiling ``OBJC`` language files. Will only be used
+by CMake on the first configuration to determine ``OBJC`` compiler, after
+which the value for ``OBJC`` is stored in the cache as
+:variable:`CMAKE_OBJC_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
+run (including the first), the environment variable will be ignored if the
+:variable:`CMAKE_OBJC_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
diff --git a/Help/envvar/OBJCXX.rst b/Help/envvar/OBJCXX.rst
new file mode 100644
index 0000000..be1fa42
--- /dev/null
+++ b/Help/envvar/OBJCXX.rst
@@ -0,0 +1,11 @@
+OBJCXX
+------
+
+.. include:: ENV_VAR.txt
+
+Preferred executable for compiling ``OBJCXX`` language files. Will only be used
+by CMake on the first configuration to determine ``OBJCXX`` compiler, after
+which the value for ``OBJCXX`` is stored in the cache as
+:variable:`CMAKE_OBJCXX_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
+run (including the first), the environment variable will be ignored if the
+:variable:`CMAKE_OBJCXX_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
diff --git a/Help/manual/cmake-env-variables.7.rst b/Help/manual/cmake-env-variables.7.rst
index 96ceb94..ec2c85d 100644
--- a/Help/manual/cmake-env-variables.7.rst
+++ b/Help/manual/cmake-env-variables.7.rst
@@ -54,6 +54,8 @@ Environment Variables for Languages
/envvar/CXXFLAGS
/envvar/FC
/envvar/FFLAGS
+ /envvar/OBJC
+ /envvar/OBJCXX
/envvar/RC
/envvar/RCFLAGS
/envvar/SWIFTC