Use multi-lib build on MSW, and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
REM ----------------------------------------------------------------------
|
REM ----------------------------------------------------------------------
|
||||||
REM Note: This is a 4NT script
|
REM Note: This is a 4NT script
|
||||||
REM ----------------------------------------------------------------------
|
REM ----------------------------------------------------------------------
|
||||||
|
call wxset.btm
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
set FLAGS=USE_SWIG=1 IN_CVS_TREE=1
|
set FLAGS=USE_SWIG=1 IN_CVS_TREE=1
|
||||||
|
@@ -409,11 +409,6 @@ if os.name == 'nt':
|
|||||||
|
|
||||||
defines = [ ('WIN32', None),
|
defines = [ ('WIN32', None),
|
||||||
('_WINDOWS', None),
|
('_WINDOWS', None),
|
||||||
## ('__WIN32__', None),
|
|
||||||
## ('__WINDOWS__', None),
|
|
||||||
## ('WINVER', '0x0400'),
|
|
||||||
## ('__WIN95__', None),
|
|
||||||
## ('STRICT', None),
|
|
||||||
|
|
||||||
(WXPLAT, None),
|
(WXPLAT, None),
|
||||||
('WXUSINGDLL', '1'),
|
('WXUSINGDLL', '1'),
|
||||||
@@ -431,8 +426,13 @@ if os.name == 'nt':
|
|||||||
defines.append( ('__WXDEBUG__', None) )
|
defines.append( ('__WXDEBUG__', None) )
|
||||||
|
|
||||||
libdirs = [ opj(WXDIR, 'lib', 'vc_msw' + libFlag() + 'dll') ]
|
libdirs = [ opj(WXDIR, 'lib', 'vc_msw' + libFlag() + 'dll') ]
|
||||||
wxdll = 'wxmsw' + WXDLLVER + libFlag()
|
libs = [ 'wxbase' + WXDLLVER + libFlag(), # TODO: trim this down to what is really needed for the core
|
||||||
libs = [ wxdll ]
|
'wxbase' + WXDLLVER + libFlag() + '_net',
|
||||||
|
'wxbase' + WXDLLVER + libFlag() + '_xml',
|
||||||
|
makeLibName('core')[0],
|
||||||
|
makeLibName('adv')[0],
|
||||||
|
makeLibName('html')[0],
|
||||||
|
]
|
||||||
|
|
||||||
libs = libs + ['kernel32', 'user32', 'gdi32', 'comdlg32',
|
libs = libs + ['kernel32', 'user32', 'gdi32', 'comdlg32',
|
||||||
'winspool', 'winmm', 'shell32', 'oldnames', 'comctl32',
|
'winspool', 'winmm', 'shell32', 'oldnames', 'comctl32',
|
||||||
|
Reference in New Issue
Block a user