diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-08 21:13:42 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-08 21:13:42 (GMT) |
commit | 1dbcfd2a982f4fc22eecdcb53e44988b14a0ffec (patch) | |
tree | 2a80e6a36655374bbb10168f9f91bd60afe89ab0 /Source/cmAddExecutableCommand.cxx | |
parent | df3205e873d4edf2f40c8f9e6d64d5e5aabaad16 (diff) | |
download | CMake-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.cxx | 2 |
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 } |