diff options
author | Brad King <brad.king@kitware.com> | 2008-02-14 20:31:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-14 20:31:08 (GMT) |
commit | 67f8c0fd104fe6ec1b6c1df2ebce6fdb9b2c811f (patch) | |
tree | 6b51fadf24500dea382988525e51e9c0e6d449bb /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 7b1c305d864977a524e21b7b837a8582eb487d7c (diff) | |
download | CMake-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.cxx | 16 |
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"); |