visual studio - VS platform toolset on the command-line, for use with make-files -


i have portable cli tool builds on command-line using simple make-file. have adapted make-file builds using nmake , vc++ command-line tools, can't figure out how request "vs120_xp" toolset.

i'm aware can set "vs120_xp" toolset new vs project , build inside ide or using msbuild on command-line, , works fine, want avoid converting whole make-file if possible.

is there argument can pass "vcvarsall.bat" or "vcvars32.bat" scripts, arguments nmake, pre-processor definitions in make-file, or global settings somewhere, can use control this?

afaik xp support after vcvarsall.bat need somethin this:

set include=%programfiles(x86)%\microsoft sdks\windows\7.1a\include;%include% set path=%programfiles(x86)%\microsoft sdks\windows\7.1a\bin;%path% set lib=%programfiles(x86)%\microsoft sdks\windows\7.1a\lib;%lib% set cl=/d_using_v110_sdk71_;%cl% set link=/subsystem:console,5.01 %link% 

you can check this article


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -