summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-09 13:50:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-03-09 13:50:04 (GMT)
commit345d5926ee01d716f11c9bf8380fec180088d5a3 (patch)
tree3abbb9e3d3808db5e21fd5cbb6547a55cbf57959 /Help
parentd1856e2e333001d0f106a3af86dfe000fd61b2b2 (diff)
parentd929c35f08957dc57bbdd802964cb3fb0f4282e1 (diff)
downloadCMake-345d5926ee01d716f11c9bf8380fec180088d5a3.zip
CMake-345d5926ee01d716f11c9bf8380fec180088d5a3.tar.gz
CMake-345d5926ee01d716f11c9bf8380fec180088d5a3.tar.bz2
Merge topic 'deprecate-CMakeForceCompiler'
d929c35f CMakeForceCompiler: Deprecate this module and its macros
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-toolchains.7.rst7
-rw-r--r--Help/release/dev/deprecate-CMakeForceCompiler.rst5
2 files changed, 9 insertions, 3 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst
index 7b294a8..390220c 100644
--- a/Help/manual/cmake-toolchains.7.rst
+++ b/Help/manual/cmake-toolchains.7.rst
@@ -138,9 +138,10 @@ a path on the host to install to. The :variable:`CMAKE_INSTALL_PREFIX` is always
the runtime installation location, even when cross-compiling.
The :variable:`CMAKE_<LANG>_COMPILER` variables may be set to full paths, or to
-names of compilers to search for in standard locations. In cases where CMake does
-not have enough information to extract information from the compiler, the
-:module:`CMakeForceCompiler` module can be used to bypass some of the checks.
+names of compilers to search for in standard locations. For toolchains that
+do not support linking binaries without custom flags or scripts one may set
+the :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable to ``STATIC_LIBRARY``
+to tell CMake not to try to link executables during its checks.
CMake ``find_*`` commands will look in the sysroot, and the :variable:`CMAKE_FIND_ROOT_PATH`
entries by default in all cases, as well as looking in the host system root prefix.
diff --git a/Help/release/dev/deprecate-CMakeForceCompiler.rst b/Help/release/dev/deprecate-CMakeForceCompiler.rst
new file mode 100644
index 0000000..dc6e817
--- /dev/null
+++ b/Help/release/dev/deprecate-CMakeForceCompiler.rst
@@ -0,0 +1,5 @@
+deprecate-CMakeForceCompiler
+----------------------------
+
+* The :module:`CMakeForceCompiler` module and its macros are now deprecated.
+ See module documentation for an explanation.