Added some code to override distutils compile flags, but left it
commented out since I found that the problem I was seeing is actaully in Python headers... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,6 +14,24 @@ from distutils.ccompiler import \
|
|||||||
|
|
||||||
class MyMSVCCompiler(MSVCCompiler):
|
class MyMSVCCompiler(MSVCCompiler):
|
||||||
|
|
||||||
|
## def __init__ (self,
|
||||||
|
## verbose=0,
|
||||||
|
## dry_run=0,
|
||||||
|
## force=0):
|
||||||
|
## MSVCCompiler.__init__(self, verbose, dry_run, force)
|
||||||
|
|
||||||
|
## self.compile_options = [ '/nologo',
|
||||||
|
## '/Ox',
|
||||||
|
## '/MD',
|
||||||
|
## '/W3',
|
||||||
|
## '/GX',
|
||||||
|
## ]
|
||||||
|
## self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GX',
|
||||||
|
## '/Z7', '/D_DEBUG']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##------------------------------------------------------------
|
##------------------------------------------------------------
|
||||||
## Override the entire compile method just to add flags to the
|
## Override the entire compile method just to add flags to the
|
||||||
## RC command. There should be an easier way to do this from
|
## RC command. There should be an easier way to do this from
|
||||||
|
Reference in New Issue
Block a user