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.
This commit is contained in:
Brad King
2011-03-15 14:07:36 -04:00
parent 6e8a67f99a
commit 9a0b9bc8b7
7 changed files with 79 additions and 11 deletions

View File

@@ -143,7 +143,8 @@ public:
const char* config);
virtual void AppendFlags(std::string& flags, const char* newFlags);
///! Get the include flags for the current makefile and language
const char* GetIncludeFlags(const char* lang);
const char* GetIncludeFlags(const char* lang,
bool forResponseFile = false);
/**
* Encode a list of preprocessor definitions for the compiler