summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-14 20:31:08 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-14 20:31:08 (GMT)
commit67f8c0fd104fe6ec1b6c1df2ebce6fdb9b2c811f (patch)
tree6b51fadf24500dea382988525e51e9c0e6d449bb /Source/cmMakefileLibraryTargetGenerator.cxx
parent7b1c305d864977a524e21b7b837a8582eb487d7c (diff)
downloadCMake-67f8c0fd104fe6ec1b6c1df2ebce6fdb9b2c811f.zip
CMake-67f8c0fd104fe6ec1b6c1df2ebce6fdb9b2c811f.tar.gz
CMake-67f8c0fd104fe6ec1b6c1df2ebce6fdb9b2c811f.tar.bz2
ENH: Allow multiple OS X applications bundles to be created in a single build directory. Converted Info.plist files to be generated directly instead of configured with make variables. The MACOSX_BUNDLE_* variables are now properties (and vars for compatibility).
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index d0e2fcb..f611562 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -364,22 +364,6 @@ void cmMakefileLibraryTargetGenerator::CreateFramework(
//cmSystemTools::MakeDirectory((macdir + "Libraries").c_str());
cmSystemTools::MakeDirectory((macdir + "Headers").c_str());
- // Configure the Info.plist file. Note that it needs the executable name
- // to be set
- std::string rsrcDir = macdir + "Resources/";
- cmSystemTools::MakeDirectory(rsrcDir.c_str());
- this->Makefile->AddDefinition("MACOSX_FRAMEWORK_NAME",
- targetName.c_str());
- std::string f1 =
- this->Makefile->GetModulesFile("MacOSXFrameworkInfo.plist.in");
- if ( f1.size() == 0 )
- {
- cmSystemTools::Error(
- "could not find Mac OSX framework Info.plist template file.");
- }
- std::string f2 = rsrcDir + "Info.plist";
- this->Makefile->ConfigureFile(f1.c_str(), f2.c_str(),
- false, false, false);
this->CopyFrameworkSources(targetName, outpath, version,
"PRIVATE_HEADER", "PrivateHeaders");