summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-15 16:22:23 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-15 16:22:23 (GMT)
commited76198b840b83d49ee4eba9ca0c7753b41d54cf (patch)
tree9ccd1f187874b7adc0f79d9f7c5088fa62e6639c /Source/cmMakefileTargetGenerator.h
parent6ea4eea18387d414d6a982bff3bd2f56cdaa85a5 (diff)
downloadCMake-ed76198b840b83d49ee4eba9ca0c7753b41d54cf.zip
CMake-ed76198b840b83d49ee4eba9ca0c7753b41d54cf.tar.gz
CMake-ed76198b840b83d49ee4eba9ca0c7753b41d54cf.tar.bz2
ENH: Cleanup building of OS X bundle content
- Fixes repeated rebuild of bundles by Makefile generators - Add special rules to copy sources to their MACOSX_PACKAGE_LOCATION bundle directory - Remove MacOSX_Content language hack - Remove EXTRA_CONTENT property - Remove MACOSX_CONTENT - Remove corresponding special cases in object names
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index f645eab..44f57c7 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -82,6 +82,9 @@ protected:
// write the depend rules for this target
void WriteTargetDependRules();
+ // write rules for Mac OS X Application Bundle content.
+ void WriteMacOSXContentRules(cmSourceFile& source, const char* pkgloc);
+
// write the rules for an object
void WriteObjectRuleFiles(cmSourceFile& source);
@@ -178,11 +181,13 @@ protected:
// objects used by this target
std::vector<std::string> Objects;
std::vector<std::string> ExternalObjects;
- std::set<std::string> ExtraContent;
// Set of object file names that will be built in this directory.
std::set<cmStdString> ObjectFiles;
+ // Set of extra output files to be driven by the build.
+ std::set<cmStdString> ExtraFiles;
+
typedef std::map<cmStdString, cmStdString> MultipleOutputPairsType;
MultipleOutputPairsType MultipleOutputPairs;