Refactor GetIncludeFlags to take includes instead of fetching them

This commit is contained in:
Stephen Kelly
2011-12-04 16:36:48 +01:00
committed by David Cole
parent 6a1c5a3569
commit edd5303949
4 changed files with 21 additions and 10 deletions
+2 -2
View File
@@ -146,8 +146,8 @@ public:
///! Append flags to a string.
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,
bool forResponseFile = false);
const char* GetIncludeFlags(const std::vector<std::string> &includes,
const char* lang, bool forResponseFile = false);
/**
* Encode a list of preprocessor definitions for the compiler