diff options
author | Brad King <brad.king@kitware.com> | 2007-12-28 19:59:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-28 19:59:06 (GMT) |
commit | 59aa144516c36ff4b25028c9617383f57e780900 (patch) | |
tree | ff1028291bfbc1e32a4089b92eebd76c588581eb /Source/cmMakefileTargetGenerator.h | |
parent | 0a7bb4112954068b25adc116f9cf6c0baeb6cf3e (diff) | |
download | CMake-59aa144516c36ff4b25028c9617383f57e780900.zip CMake-59aa144516c36ff4b25028c9617383f57e780900.tar.gz CMake-59aa144516c36ff4b25028c9617383f57e780900.tar.bz2 |
ENH: Simplified and moved link script implementation up from cmMakefileLibraryTargetGenerator to cmMakefileTargetGenerator and use for cmMakefileExecutableTargetGenerator too. This addresses bug #6192.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index 4b8a281..aa452c9 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -128,6 +128,12 @@ protected: makefile generators to register such pairs. */ void AddMultipleOutputPair(const char* depender, const char* dependee); + /** Create a script to hold link rules and a command to invoke the + script at build time. */ + void CreateLinkScript(const char* name, + std::vector<std::string> const& link_commands, + std::vector<std::string>& makefile_commands); + virtual void CloseFileStreams(); void RemoveForbiddenFlags(const char* flagVar, const char* linkLang, std::string& linkFlags); |