mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 00:59:19 -06:00
now Try compile can include CMAKE_FLAGS
This commit is contained in:
@@ -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.";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user