summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-03-15 18:07:36 (GMT)
committerBrad King <brad.king@kitware.com>2011-03-17 21:56:13 (GMT)
commit9a0b9bc8b756bcb027485d72fb9619c8e10f5a0a (patch)
tree5afc4348887308de45cfc01ad573ac9f3b221805 /Source/cmMakefileTargetGenerator.h
parent6e8a67f99a34f2166ee838eb68968ae200830cac (diff)
downloadCMake-9a0b9bc8b756bcb027485d72fb9619c8e10f5a0a.zip
CMake-9a0b9bc8b756bcb027485d72fb9619c8e10f5a0a.tar.gz
CMake-9a0b9bc8b756bcb027485d72fb9619c8e10f5a0a.tar.bz2
Optionally pass include directories with response files
Create platform option CMAKE_<lang>_USE_RESPONSE_FILE_FOR_INCLUDES to enable use of response files for passing the list of include directories to compiler command lines.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index c9aede2..bd26795 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -146,6 +146,8 @@ protected:
bool useResponseFile, std::string& buildObjs,
std::vector<std::string>& makefile_depends);
+ void AddIncludeFlags(std::string& flags, const char* lang);
+
virtual void CloseFileStreams();
void RemoveForbiddenFlags(const char* flagVar, const char* linkLang,
std::string& linkFlags);
@@ -177,6 +179,8 @@ protected:
// the stream for the flag file
std::string FlagFileNameFull;
cmGeneratedFileStream *FlagFileStream;
+ class StringList: public std::vector<std::string> {};
+ std::map<cmStdString, StringList> FlagFileDepends;
// the stream for the info file
std::string InfoFileNameFull;