From ab9be6662f3ab7bf93a5793395d0aeb3c2297e86 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 May 2020 07:09:41 -0400 Subject: Help: Document OBJC and OBJCXX env vars for Objective C/C++ compilers --- Help/envvar/OBJC.rst | 11 +++++++++++ Help/envvar/OBJCXX.rst | 11 +++++++++++ Help/manual/cmake-env-variables.7.rst | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 Help/envvar/OBJC.rst create mode 100644 Help/envvar/OBJCXX.rst 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 _COMPILER>`. For any configuration +run (including the first), the environment variable will be ignored if the +:variable:`CMAKE_OBJC_COMPILER _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 _COMPILER>`. For any configuration +run (including the first), the environment variable will be ignored if the +:variable:`CMAKE_OBJCXX_COMPILER _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 -- cgit v0.12