summaryrefslogtreecommitdiffstats
path: root/Source/cmAddExecutableCommand.cxx
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.cxx
parentdf3205e873d4edf2f40c8f9e6d64d5e5aabaad16 (diff)
downloadCMake-1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec.zip
CMake-1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec.tar.gz
CMake-1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec.tar.bz2
ENH: Improve Mac OSX bundle support
Diffstat (limited to 'Source/cmAddExecutableCommand.cxx')
-rw-r--r--Source/cmAddExecutableCommand.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx
index 71f3b57..4ccd2a7 100644
--- a/Source/cmAddExecutableCommand.cxx
+++ b/Source/cmAddExecutableCommand.cxx
@@ -83,6 +83,8 @@ bool cmAddExecutableCommand::InitialPass(std::vector<std::string> const& args)
func.m_Arguments.push_back(cmListFileArgument(f1, true));
func.m_Arguments.push_back(cmListFileArgument(f2, true));
+ func.m_Arguments.push_back(cmListFileArgument("IMMEDIATE", true));
+ m_Makefile->AddDefinition("MACOSX_BUNDLE_EXECUTABLE_NAME", exename.c_str());
m_Makefile->ExecuteCommand(func);
#endif
}