summaryrefslogtreecommitdiffstats
path: root/Source/cmAddExecutableCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-11 14:53:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-11 14:53:17 (GMT)
commit639f1fa2392345be8afbdb1d0866d342d5923bbf (patch)
tree4e594126688fb699d195dfec984ff4909b910b0b /Source/cmAddExecutableCommand.h
parent4139f15de65ec1d1670cceb95b4c22b52f5448c3 (diff)
downloadCMake-639f1fa2392345be8afbdb1d0866d342d5923bbf.zip
CMake-639f1fa2392345be8afbdb1d0866d342d5923bbf.tar.gz
CMake-639f1fa2392345be8afbdb1d0866d342d5923bbf.tar.bz2
added registry entry support and windows app support
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);