diff options
author | Brad King <brad.king@kitware.com> | 2008-10-15 14:21:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-10-15 14:21:14 (GMT) |
commit | 07454a39f1fc57b147d1311b952702f3ff2b595b (patch) | |
tree | 011334564c55097ba6d50f21e01c7316eac704aa /Source/cmMakefileTargetGenerator.h | |
parent | cd1528279c8c3662af0d1641e0d95e05821b6d10 (diff) | |
download | CMake-07454a39f1fc57b147d1311b952702f3ff2b595b.zip CMake-07454a39f1fc57b147d1311b952702f3ff2b595b.tar.gz CMake-07454a39f1fc57b147d1311b952702f3ff2b595b.tar.bz2 |
ENH: Factor out listing of objects on command line
Previously generation of object file lists for linker and cleaning
command lines was duplicated for library and executable target
generators. This combines the implementations.
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 0b55c6e..c7cbab9 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -144,6 +144,11 @@ protected: std::string const& options, std::vector<std::string>& makefile_depends); + /** Create lists of object files for linking and cleaning. */ + void CreateObjectLists(bool useLinkScript, bool useArchiveRules, + bool useResponseFile, std::string& buildObjs, + std::vector<std::string>& makefile_depends); + virtual void CloseFileStreams(); void RemoveForbiddenFlags(const char* flagVar, const char* linkLang, std::string& linkFlags); |