diff options
author | 2017-02-28 10:57:33 +0000 | |
---|---|---|
committer | 2017-02-28 11:34:13 +0000 | |
commit | 1409aa313aa65804697e7ef5413315e8c38a2f91 (patch) | |
tree | 8731e7f60dc6cff10e0aba6ccbaf49efcd95a7fc /tools/cpp | |
parent | 6d1d424b4c0da724e20e14235de8012f05c470f8 (diff) |
MSVC wrapper: support -I gcc flag
See https://github.com/bazelbuild/bazel/issues/2107
--
PiperOrigin-RevId: 148750327
MOS_MIGRATED_REVID=148750327
Diffstat (limited to 'tools/cpp')
-rw-r--r-- | tools/cpp/wrapper/bin/pydir/msvc_cl.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cpp/wrapper/bin/pydir/msvc_cl.py b/tools/cpp/wrapper/bin/pydir/msvc_cl.py index 43a455da23..a2d240c333 100644 --- a/tools/cpp/wrapper/bin/pydir/msvc_cl.py +++ b/tools/cpp/wrapper/bin/pydir/msvc_cl.py @@ -22,6 +22,7 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(SCRIPT_DIR) GCCPATTERNS = [ + ('-I(.+)', ['/I$0']), ('-m(32|64)', ['$TARGET_ARCH']), ('-Xcompilation-mode=(dbg|fastbuild|opt)', ['$COMPILATION_MODE']), ('-msse', ['/arch:SSE']), |