added registry entry support and windows app support

This commit is contained in:
Ken Martin
2001-05-11 10:53:17 -04:00
parent 4139f15de6
commit 639f1fa239
15 changed files with 293 additions and 13 deletions

View File

@@ -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);