diff options
author | Evan Martin <martine@danga.com> | 2012-08-12 21:07:38 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-08-12 21:07:38 (GMT) |
commit | 031237133e33ee4eb5e9641396d6b0f566b575c8 (patch) | |
tree | 347d671d77f29f9f52079075381c9679067cc6b9 | |
parent | 5024ada1786143f4946a574f4f0bbe3da7b93520 (diff) | |
download | Ninja-031237133e33ee4eb5e9641396d6b0f566b575c8.zip Ninja-031237133e33ee4eb5e9641396d6b0f566b575c8.tar.gz Ninja-031237133e33ee4eb5e9641396d6b0f566b575c8.tar.bz2 |
doc some cl.exe flags in the configure script
-rwxr-xr-x | configure.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.py b/configure.py index 331e027..1cdab49 100755 --- a/configure.py +++ b/configure.py @@ -108,8 +108,13 @@ else: n.variable('ar', configure_env.get('AR', 'ar')) if platform == 'windows': - cflags = ['/nologo', '/Zi', '/W4', '/WX', '/wd4530', '/wd4100', '/wd4706', - '/wd4512', '/wd4800', '/wd4702', '/wd4819', '/GR-', + cflags = ['/nologo', # Don't print startup banner. + '/Zi', # Create pdb with debug info. + '/W4', # Highest warning level. + '/WX', # Warnings as errors. + '/wd4530', '/wd4100', '/wd4706', + '/wd4512', '/wd4800', '/wd4702', '/wd4819', + '/GR-', # Disable RTTI. # Disable size_t -> int truncation warning. # We never have strings or arrays larger than 2**31. '/wd4267', |