summaryrefslogtreecommitdiffstats
path: root/Source/cmTryCompileCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-18 15:37:40 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-18 15:37:40 (GMT)
commit610ff11cf3725178d70ff0719aedf2f4520e38ce (patch)
tree19879cad94ba7715d84ddaa8f7859716071b1f3d /Source/cmTryCompileCommand.h
parentf835a83b8d05067522d65756161d7cf5034bb3c4 (diff)
downloadCMake-610ff11cf3725178d70ff0719aedf2f4520e38ce.zip
CMake-610ff11cf3725178d70ff0719aedf2f4520e38ce.tar.gz
CMake-610ff11cf3725178d70ff0719aedf2f4520e38ce.tar.bz2
now Try compile can include CMAKE_FLAGS
Diffstat (limited to 'Source/cmTryCompileCommand.h')
-rw-r--r--Source/cmTryCompileCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h
index 8658ac8..1b3bf0b 100644
--- a/Source/cmTryCompileCommand.h
+++ b/Source/cmTryCompileCommand.h
@@ -62,11 +62,11 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "TRY_COMPILE(RESULT_VAR bindir srcdir projectName <targetName>)\n"
+ "TRY_COMPILE(RESULT_VAR bindir srcdir projectName <CMAKE_FLAGS <Flags>>)\n"
"Try compiling a program. Return the success or failure in RESULT_VAR "
"If <target name> is specified then build just that target "
"otherwise the all or ALL_BUILD target is built.\n"
- "TRY_COMPILE(RESULT_VAR bindir srcfile)\n"
+ "TRY_COMPILE(RESULT_VAR bindir srcfile <CMAKE_FLAGS <Flags>>)\n"
"Try compiling a srcfile. Return the success or failure in RESULT_VAR.";
}