diff options
author | Evan Martin <martine@danga.com> | 2012-08-12 19:12:01 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-08-12 20:41:04 (GMT) |
commit | 5cc5615211b1cf83605a0fb7565cc640f4d7698e (patch) | |
tree | 3dec137156494103846baabbfbc13fea3a42a977 /configure.py | |
parent | edaf99e9bda420696b2173b44f0abfc63184aaae (diff) | |
download | Ninja-5cc5615211b1cf83605a0fb7565cc640f4d7698e.zip Ninja-5cc5615211b1cf83605a0fb7565cc640f4d7698e.tar.gz Ninja-5cc5615211b1cf83605a0fb7565cc640f4d7698e.tar.bz2 |
add a module for working with MSVC (cl.exe) behavior
This will be needed for performant builds on Windows.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.py b/configure.py index f4881a7..331e027 100755 --- a/configure.py +++ b/configure.py @@ -249,6 +249,7 @@ for name in ['build', if platform in ('mingw', 'windows'): objs += cxx('subprocess-win32') if platform == 'windows': + objs += cxx('msvc_helper-win32') objs += cxx('minidump-win32') objs += cc('getopt') else: @@ -318,6 +319,8 @@ for name in ['build_log_test', 'test', 'util_test']: objs += cxx(name, variables=[('cflags', test_cflags)]) +if platform == 'windows': + objs += cxx('msvc_helper_test', variables=[('cflags', test_cflags)]) if platform != 'mingw' and platform != 'windows': test_libs.append('-lpthread') |