diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2015-08-25 02:56:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-21 14:12:13 (GMT) |
commit | b15f4e9b86bc3dc31b6a01c0ffc30747f467ec1f (patch) | |
tree | a43367338ec838ac31e7c2f8a693976618d33458 /Help/command | |
parent | 9784af1b50a142c0160058734c7e12cee5f2a15e (diff) | |
download | CMake-b15f4e9b86bc3dc31b6a01c0ffc30747f467ec1f.zip CMake-b15f4e9b86bc3dc31b6a01c0ffc30747f467ec1f.tar.gz CMake-b15f4e9b86bc3dc31b6a01c0ffc30747f467ec1f.tar.bz2 |
try_compile: Propogate CMP0065 to the generated project.
Set policy CMP0065 to the value used in the calling project.
Set the the value of CMAKE_ENABLE_EXPORTS if set in the calling
project to initialize the target property appropriately.
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/try_compile.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index 1ed24df..28dae80 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -100,6 +100,7 @@ If set, the following variables are passed in to the generated try_compile CMakeLists.txt to initialize compile target properties with default values: +* :variable:`CMAKE_ENABLE_EXPORTS` * :variable:`CMAKE_LINK_SEARCH_START_STATIC` * :variable:`CMAKE_LINK_SEARCH_END_STATIC` * :variable:`CMAKE_POSITION_INDEPENDENT_CODE` @@ -107,5 +108,7 @@ default values: If :policy:`CMP0056` is set to ``NEW``, then :variable:`CMAKE_EXE_LINKER_FLAGS` is passed in as well. +The current setting of :policy:`CMP0065` is set in the generated project. + Set the :variable:`CMAKE_TRY_COMPILE_CONFIGURATION` variable to choose a build configuration. |