summaryrefslogtreecommitdiffstats
path: root/Source/cmAddExecutableCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmAddExecutableCommand.h')
-rw-r--r--Source/cmAddExecutableCommand.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h
index 2b43e62..3008e2c 100644
--- a/Source/cmAddExecutableCommand.h
+++ b/Source/cmAddExecutableCommand.h
@@ -86,7 +86,13 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "ADD_EXECUTABLE(exename srclist srclist srclist ...)";
+ "ADD_EXECUTABLE(exename srclist srclist srclist ...)\n"
+ "ADD_EXECUTABLE(exename WIN32 srclist srclist srclist ...)"
+ "This command adds an executable target to the current directory. "
+ "The executable will be built from the source files / source lists "
+ "specified. The second argument to this command can be WIN32 "
+ "which indicates that the executable (when compiled on windows) "
+ "is a windows app (using WinMain)not a console app (using main).";
}
cmTypeMacro(cmAddExecutableCommand, cmCommand);