diff options
author | Brad King <brad.king@kitware.com> | 2007-03-09 16:29:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-09 16:29:15 (GMT) |
commit | 31637efbfb958bd5f43bee5c870c501f09e76bdf (patch) | |
tree | 9a09045b4822ffcb871b19f20d34171e7329d90f /Source/cmMakefileTargetGenerator.h | |
parent | fb88335cdbbcaca92e228f6bd0b6dbdc83b03806 (diff) | |
download | CMake-31637efbfb958bd5f43bee5c870c501f09e76bdf.zip CMake-31637efbfb958bd5f43bee5c870c501f09e76bdf.tar.gz CMake-31637efbfb958bd5f43bee5c870c501f09e76bdf.tar.bz2 |
ENH: Added cmMakefileTargetGenerator::GenerateExtraOutput to wrap up creation of rules to drive creation of extra outputs generated as side effects of another rule. Reimplemented generation of custom command multiple output rules to use it. Reimplemented soname symlink output dependencies to use it. Now if a symlink is deleted the library will be recreated with the symlink.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index 308a64d..e81e72a 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -99,6 +99,11 @@ protected: // write the build rule for a custom command void GenerateCustomRuleFile(const cmCustomCommand& cc); + // write a rule to drive building of more than one output from + // another rule + void GenerateExtraOutput(const char* out, const char* in, + bool symbolic = false); + // write out the variable that lists the objects for this target void WriteObjectsVariable(std::string& variableName, std::string& variableNameExternal); |