Build with nmake (vs2013) with XP option?

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
termi
In need of some credit
In need of some credit
Posts: 8
Joined: Mon Dec 29, 2014 5:48 pm

Build with nmake (vs2013) with XP option?

Post by termi »

Hi,
on Win 8.1 64 bit, I am building wx from command line like this

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64_x86
nmake.exe -f makefile.vc MONOLITHIC=1 SHARED=0 BUILD=release

Any idea how and where to set the target to be for XP ?

Somewhere should be set:
set LINK=/SUBSYSTEM:CONSOLE,5.01 %LINK%
or Platformtoolset to
Visual Studio 2013 - Windows XP (v120_xp) ?

I can do this in VS2013, but... not for monolitic lib. I have several small projects, most of these working with cmake where I use monolitic library,
and I do not know how to set in VS to build monolitic lib.
@Doublemax, I know that on windows it is not common to use monolitic... [-X
but this simplifies the configuration of the large number of small projects with cmake...
Post Reply