ENH: Improve Mac OSX bundle support

This commit is contained in:
Andy Cedilnik
2004-04-08 17:13:42 -04:00
parent df3205e873
commit 1dbcfd2a98
3 changed files with 27 additions and 13 deletions

View File

@@ -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
}