now Try compile can include CMAKE_FLAGS

This commit is contained in:
Ken Martin
2002-09-18 11:37:40 -04:00
parent f835a83b8d
commit 610ff11cf3
4 changed files with 36 additions and 10 deletions

View File

@@ -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.";
}