summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-17 22:23:15 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-17 22:23:15 (GMT)
commit052c2ae1aa9759e141a4331877f7e39ba5688ca5 (patch)
treed68fcc0fe27e97ebe2f7f1fe11d3585333ac3e5e /Source/cmDocumentVariables.cxx
parent56efc60fa0b9ef067d4b5648e43136b250872088 (diff)
downloadCMake-052c2ae1aa9759e141a4331877f7e39ba5688ca5.zip
CMake-052c2ae1aa9759e141a4331877f7e39ba5688ca5.tar.gz
CMake-052c2ae1aa9759e141a4331877f7e39ba5688ca5.tar.bz2
Document CMAKE_TRY_COMPILE_CONFIGURATION variable
Also reference it from try_compile and try_run since it affects those commands.
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index 5dfa64e..e9b54d8 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -1121,6 +1121,14 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
"this variable for a target if they are set. "
"Library targets are otherwise placed in this directory.",false,
"Variables that Control the Build");
+ cm->DefineProperty
+ ("CMAKE_TRY_COMPILE_CONFIGURATION", cmProperty::VARIABLE,
+ "Build configuration used for try_compile and try_run projects.",
+ "Projects built by try_compile and try_run are built "
+ "synchronously during the CMake configuration step. "
+ "Therefore a specific build configuration must be chosen even "
+ "if the generated build system supports multiple configurations.",false,
+ "Variables that Control the Build");
// Variables defined when the a language is enabled These variables will