summaryrefslogtreecommitdiffstats
path: root/Source/cmAddExecutableCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-08 21:13:42 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-08 21:13:42 (GMT)
commit1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec (patch)
tree2a80e6a36655374bbb10168f9f91bd60afe89ab0 /Source/cmAddExecutableCommand.h
parentdf3205e873d4edf2f40c8f9e6d64d5e5aabaad16 (diff)
downloadCMake-1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec.zip
CMake-1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec.tar.gz
CMake-1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec.tar.bz2
ENH: Improve Mac OSX bundle support
Diffstat (limited to 'Source/cmAddExecutableCommand.h')
-rw-r--r--Source/cmAddExecutableCommand.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h
index 1e36c49..ac8328d 100644
--- a/Source/cmAddExecutableCommand.h
+++ b/Source/cmAddExecutableCommand.h
@@ -61,13 +61,25 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ADD_EXECUTABLE(exename [WIN32] source1\n"
+ " ADD_EXECUTABLE(exename [WIN32] [MACBUNDLE] source1\n"
" source2 ... sourceN)\n"
"This command adds an executable target to the current directory. "
"The executable will be built from the list of source files "
- "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).";
+ "specified.\n"
+ "After specifying the executable name, WIN32 and/or MACBUNDLE can "
+ "be specified. WIN32 indicates that the executable (when compiled on "
+ "windows) is a windows app (using WinMain) not a console app (using main). "
+ "MACBUNDLE indicates that when build on Mac OSX, executable should be in "
+ "the bundle form. The MACBUNDLE also allows several variables to be specified:\n"
+ " MACOSX_BUNDLE_INFO_STRING\n"
+ " MACOSX_BUNDLE_ICON_FILE\n"
+ " MACOSX_BUNDLE_GUI_IDENTIFIER\n"
+ " MACOSX_BUNDLE_LONG_VERSION_STRING\n"
+ " MACOSX_BUNDLE_BUNDLE_NAME\n"
+ " MACOSX_BUNDLE_SHORT_VERSION_STRING\n"
+ " MACOSX_BUNDLE_BUNDLE_VERSION\n"
+ " MACOSX_BUNDLE_COPYRIGHT\n"
+ ;
}
cmTypeMacro(cmAddExecutableCommand, cmCommand);