summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2012-08-12 22:51:21 (GMT)
committerEvan Martin <martine@danga.com>2012-08-12 22:58:47 (GMT)
commit0af67f1babe08c7e00ba194ccb47c4a0c60fa52a (patch)
treee1e7be9da98c6bfc2716af0eff748ef9dec8cd29 /configure.py
parentc08766e86d10f0ef5417f6c6accbff37706b08c4 (diff)
downloadNinja-0af67f1babe08c7e00ba194ccb47c4a0c60fa52a.zip
Ninja-0af67f1babe08c7e00ba194ccb47c4a0c60fa52a.tar.gz
Ninja-0af67f1babe08c7e00ba194ccb47c4a0c60fa52a.tar.bz2
add functions for normalizing win32 include paths
(Note from Evan: this is landing Scott's code more or less verbatim without a lot of analysis; it could maybe be simplified and reduced, but it's only intended to be used in the MSVC helper so it's fine to be experimental.)
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 1cdab49..ed05031 100755
--- a/configure.py
+++ b/configure.py
@@ -254,6 +254,7 @@ for name in ['build',
if platform in ('mingw', 'windows'):
objs += cxx('subprocess-win32')
if platform == 'windows':
+ objs += cxx('includes_normalize-win32')
objs += cxx('msvc_helper-win32')
objs += cxx('minidump-win32')
objs += cc('getopt')
@@ -325,7 +326,8 @@ for name in ['build_log_test',
'util_test']:
objs += cxx(name, variables=[('cflags', test_cflags)])
if platform == 'windows':
- objs += cxx('msvc_helper_test', variables=[('cflags', test_cflags)])
+ for name in ['includes_normalize_test', 'msvc_helper_test']:
+ objs += cxx(name, variables=[('cflags', test_cflags)])
if platform != 'mingw' and platform != 'windows':
test_libs.append('-lpthread')