summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-06-01 15:45:51 (GMT)
committerBrad King <brad.king@kitware.com>2006-06-01 15:45:51 (GMT)
commit4189370497f4f00c7a7d3ec6ba221879bfc8b58c (patch)
tree40e1ca868cd74dd3f3cb21644d7d43107183282f /Source/cmMakefileTargetGenerator.h
parentf54d254a814ff37bf9ad5992c9646bd975822178 (diff)
downloadCMake-4189370497f4f00c7a7d3ec6ba221879bfc8b58c.zip
CMake-4189370497f4f00c7a7d3ec6ba221879bfc8b58c.tar.gz
CMake-4189370497f4f00c7a7d3ec6ba221879bfc8b58c.tar.bz2
BUG: Custom command outputs listed explicitly as source files in a target should be generated whether or not an object file in the target needs them. This useful and makes Makefile builds more consistent with VS IDE builds.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index c2422d7..35c702d 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -55,11 +55,13 @@ protected:
// create the file and directory etc
void CreateRuleFile();
- // outputs the rules for any custom commands used by this target
- void WriteCustomCommandsForTarget();
+ // outputs the rules for object files and custom commands used by
+ // this target
+ void WriteTargetBuildRules();
// write some common code at the top of build.make
void WriteCommonCodeRules();
+ void WriteTargetLanguageFlags();
// write the provide require rules for this target
void WriteTargetRequiresRules();
@@ -83,15 +85,16 @@ protected:
void WriteObjectDependRules(cmSourceFile& source,
std::vector<std::string>& depends);
- // this is responsible for writing all of the rules for all this
- // directories custom commands (but not utility targets)
- void WriteCustomCommands();
+ // write the build rule for a custom command
void GenerateCustomRuleFile(const cmCustomCommand& cc);
// write out the variable that lists the objects for this target
void WriteObjectsVariable(std::string& variableName,
std::string& variableNameExternal);
+ // write the driver rule to build target outputs
+ void WriteTargetDriverRule(const char* main_output, bool relink);
+
// Return the a string with -F flags on apple
std::string GetFrameworkFlags();