summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-28 19:59:06 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-28 19:59:06 (GMT)
commit59aa144516c36ff4b25028c9617383f57e780900 (patch)
treeff1028291bfbc1e32a4089b92eebd76c588581eb /Source/cmMakefileTargetGenerator.h
parent0a7bb4112954068b25adc116f9cf6c0baeb6cf3e (diff)
downloadCMake-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.h6
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);