summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-23 14:03:01 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-23 14:03:01 (GMT)
commiteae3d4cf0679212099204db7dc40514a28b1c493 (patch)
tree1989d7e7612efe92410c105441a7c40d6898d013 /Source
parent3262bc73d3fd7e224537043864ac01a257901cb5 (diff)
downloadCMake-eae3d4cf0679212099204db7dc40514a28b1c493.zip
CMake-eae3d4cf0679212099204db7dc40514a28b1c493.tar.gz
CMake-eae3d4cf0679212099204db7dc40514a28b1c493.tar.bz2
ENH: Unify with other variables
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddExecutableCommand.cxx2
-rw-r--r--Source/cmAddExecutableCommand.h9
2 files changed, 6 insertions, 5 deletions
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx
index 4ccd2a7..8faabac 100644
--- a/Source/cmAddExecutableCommand.cxx
+++ b/Source/cmAddExecutableCommand.cxx
@@ -38,7 +38,7 @@ bool cmAddExecutableCommand::InitialPass(std::vector<std::string> const& args)
++s;
use_win32 = true;
}
- else if ( *s == "MACBUNDLE" )
+ else if ( *s == "MACOSX_BUNDLE" )
{
++s;
use_macbundle = true;
diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h
index ac8328d..cb8bb6f 100644
--- a/Source/cmAddExecutableCommand.h
+++ b/Source/cmAddExecutableCommand.h
@@ -61,16 +61,17 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ADD_EXECUTABLE(exename [WIN32] [MACBUNDLE] source1\n"
+ " ADD_EXECUTABLE(exename [WIN32] [MACOSX_BUNDLE] 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.\n"
- "After specifying the executable name, WIN32 and/or MACBUNDLE can "
+ "After specifying the executable name, WIN32 and/or MACOSX_BUNDLE 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 indicates that when build on Mac OSX, executable should "
+ "be in the bundle form. The MACOSX_BUNDLE also allows several variables "
+ "to be specified:\n"
" MACOSX_BUNDLE_INFO_STRING\n"
" MACOSX_BUNDLE_ICON_FILE\n"
" MACOSX_BUNDLE_GUI_IDENTIFIER\n"