Define NDEBUG for releae builds, just like Python.
XXX Why doesn't distutils on Windows use the same set of flags as Python?
This commit is contained in:
parent
69d1fd2fdb
commit
2683ac755d
@ -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']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user