summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.h
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/cmTryRunCommand.h
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/cmTryRunCommand.h')
-rw-r--r--Source/cmTryRunCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h
index ca48e90..f86d863 100644
--- a/Source/cmTryRunCommand.h
+++ b/Source/cmTryRunCommand.h
@@ -93,7 +93,10 @@ public:
"that when crosscompiling, the cache variables will have to be set "
"manually to the output of the executable. You can also \"guard\" the "
"calls to try_run with if(CMAKE_CROSSCOMPILING) and provide an "
- "easy-to-preset alternative for this case.\n";
+ "easy-to-preset alternative for this case.\n"
+ "Set variable CMAKE_TRY_COMPILE_CONFIGURATION to choose a build "
+ "configuration."
+ ;
}
cmTypeMacro(cmTryRunCommand, cmCoreTryCompile);