More tweaks to the Distutils setup script

A new set of build instructions for win32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-10-13 03:19:51 +00:00
parent a2949715ec
commit 987b4db3a1
6 changed files with 319 additions and 9 deletions

View File

@@ -32,23 +32,26 @@ BUILD_OGL = 1 # If true, build the contrib/ogl extension module
BUILD_STC = 1 # If true, build the contrib/stc extension module
USE_SWIG = 1 # Should we actually execute SWIG, or just use the
USE_SWIG = 0 # Should we actually execute SWIG, or just use the
# files already in the distribution?
IN_CVS_TREE = 1 # Set to true if building in a full wxWindows CVS
IN_CVS_TREE = 0 # Set to true if building in a full wxWindows CVS
# tree, otherwise will assume all needed files are
# available in the wxPython source distribution
# Some MSW build settings
FINAL = 0 # Mirrors use of same flag in wx makefiles,
# should probably autodetect...
FINAL = 1 # Mirrors use of same flag in wx makefiles,
# (0 or 1 only) should probably find a way to
# autodetect this...
HYBRID = 1 # If set and not debug or FINAL, then build a
HYBRID = 0 # If set and not debug or FINAL, then build a
# hybrid extension that can be used by the
# non-debug version of python, but contains
# debugging symbols for wxWindows and wxPython.
# wxWindows must have been built with /MD, not /MDd
# (using FINAL=hybrid will do it.)
WXDLLVER = '22_2' # Version part of DLL name
@@ -99,6 +102,9 @@ if os.name == 'nt':
FINAL = 0
HYBRID = 0
if HYBRID:
FINAL = 0
includes = ['src',
os.path.join(WXDIR, 'include'),
@@ -141,8 +147,8 @@ if os.name == 'nt':
lflags = None
if not FINAL and HYBRID:
cflags = ['/Z7', '/Od']
lflags = ['/DEBUG', '/PDB:NONE']
cflags = ['/Od', '/Z7']
lflags = ['/DEBUG', ] ## '/PDB:NONE']
elif os.name == 'posix':