Commit 38242c6f authored by Jeremy Hylton's avatar Jeremy Hylton

Define NDEBUG for releae builds, just like Python.

XXX Why doesn't distutils on Windows use the same set of flags as Python?
parent 0fac9b6c
......@@ -233,7 +233,8 @@ class MSVCCompiler (CCompiler) :
self.mc = "mc.exe"
self.preprocess_options = None
self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' ]
self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' ,
'/DNDEBUG']
self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GX',
'/Z7', '/D_DEBUG']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment