summaryrefslogtreecommitdiffstats
path: root/src/msvc_helper.h
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2012-09-20 00:15:55 (GMT)
committerScott Graham <scottmg@chromium.org>2012-09-20 00:15:55 (GMT)
commit21046b4a3e153754ab8f632c0b65ec1c61f7b828 (patch)
treead3dc3b0af97b76c42579533f966b6f8fb783aa8 /src/msvc_helper.h
parente6c8bd91c22b64374aa7a1c84ae0a462f4fe2896 (diff)
downloadNinja-21046b4a3e153754ab8f632c0b65ec1c61f7b828.zip
Ninja-21046b4a3e153754ab8f632c0b65ec1c61f7b828.tar.gz
Ninja-21046b4a3e153754ab8f632c0b65ec1c61f7b828.tar.bz2
fix spaces in headers for -t msvc
Diffstat (limited to 'src/msvc_helper.h')
-rw-r--r--src/msvc_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/msvc_helper.h b/src/msvc_helper.h
index c68f631..102201b 100644
--- a/src/msvc_helper.h
+++ b/src/msvc_helper.h
@@ -14,6 +14,7 @@
#include <string>
#include <set>
+#include <vector>
using namespace std;
/// Visual Studio's cl.exe requires some massaging to work with Ninja;
@@ -49,6 +50,10 @@ struct CLWrapper {
/// Exposed for testing.
static bool FilterInputFilename(const string& line);
+ /// Fill a vector with the unique'd headers, escaped for output as a .d
+ /// file.
+ vector<string> GetEscapedResult();
+
void* env_block_;
set<string> includes_;
};