SLN fails to load so used NMAKE build.
Documentation says default is debug, non-shared (ie static lib and not DLL) which is what I need.
Unfortunately MAKE creates commands with /MDd instead of /MTd, for example:
Code: Select all
cl /c /nologo /TP /Fovc_mswud\richtextlib_xh_richtext.obj /MDd /DWIN32
/Zi /Fd..\..\lib\vc_lib\wxmsw30ud_richtext.pdb /D_DEBUG /Od /D_CRT_SECURE_NO_D
EPRECATE=1 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 /D__
WXMSW__ /D_UNICODE /I..\..\lib\vc_lib\mswud /I..\..\include /W4 /DWX
BUILDING /I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\
zlib /I..\..\src\regex /I..\..\src\expat\lib /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc_
mswud\wxprec_richtextlib.pch" ..\..\src\xrc\xh_richtext.cpp
Any Ideas?
Thanks!
Best Regards, Dave
PS: Here's the file I ran:
Code: Select all
cd C:\Program Files\Microsoft Visual Studio 10.0\VC
set WXWIN=c:\wxWidgets-3.0.3
cd %wxwin%\build\msw
nmake /f makefile.vc SHARED=0
nmake /f makefile.vc BUILD=release SHARED=0