diff options
author | Brad King <brad.king@kitware.com> | 2016-07-20 18:39:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-20 19:00:56 (GMT) |
commit | 34ba5c53481e7f2101dafa735504cb98f94ec6db (patch) | |
tree | e049ca0ea0dc098bcf75ad0dfb2ead07f2ae0c68 /Source/cmMakefileTargetGenerator.h | |
parent | df14a98e9c4af316cd5e75d6af8cc7b75da2db8f (diff) | |
download | CMake-34ba5c53481e7f2101dafa735504cb98f94ec6db.zip CMake-34ba5c53481e7f2101dafa735504cb98f94ec6db.tar.gz CMake-34ba5c53481e7f2101dafa735504cb98f94ec6db.tar.bz2 |
Makefile: Factor out response file checks into common helper
Factor CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_{OBJECTS,LIBRARIES} lookup out
into a common helper. Use a separate helper for each because more
specific logic may be added to each later.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index 4284549..29b8887 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -151,6 +151,9 @@ protected: std::string CreateResponseFile(const char* name, std::string const& options, std::vector<std::string>& makefile_depends); + bool CheckUseResponseFileForObjects(std::string const& l) const; + bool CheckUseResponseFileForLibraries(std::string const& l) const; + /** Create list of flags for link libraries. */ void CreateLinkLibs(std::string& linkLibs, bool relink, bool useResponseFile, std::vector<std::string>& makefile_depends, |