diff options
author | Brad King <brad.king@kitware.com> | 2020-05-14 11:27:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-05-14 11:27:24 (GMT) |
commit | 16bf978e0c3998dc824ba86738e2eee85542659e (patch) | |
tree | aa68c3b1028b3c5f5f160d1ab69a2c4ee4f36983 /Help/envvar | |
parent | b07bc05961166170c352163d95f96c0cb80cdae1 (diff) | |
parent | 67b9f55d46f934de0954ae83d39169c86039ecea (diff) | |
download | CMake-16bf978e0c3998dc824ba86738e2eee85542659e.zip CMake-16bf978e0c3998dc824ba86738e2eee85542659e.tar.gz CMake-16bf978e0c3998dc824ba86738e2eee85542659e.tar.bz2 |
Merge branch 'backport-3.16-objc-env-vars' into objc-env-vars
Diffstat (limited to 'Help/envvar')
-rw-r--r-- | Help/envvar/OBJC.rst | 14 | ||||
-rw-r--r-- | Help/envvar/OBJCXX.rst | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/Help/envvar/OBJC.rst b/Help/envvar/OBJC.rst new file mode 100644 index 0000000..30c0d13 --- /dev/null +++ b/Help/envvar/OBJC.rst @@ -0,0 +1,14 @@ +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. + +If ``OBJC`` is not defined, the :envvar:`CC` environment variable will +be checked instead. diff --git a/Help/envvar/OBJCXX.rst b/Help/envvar/OBJCXX.rst new file mode 100644 index 0000000..a72f7e7 --- /dev/null +++ b/Help/envvar/OBJCXX.rst @@ -0,0 +1,14 @@ +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. + +If ``OBJCXX`` is not defined, the :envvar:`CXX` environment variable will +be checked instead. |