Skip to content

Instantly share code, notes, and snippets.

@imerr
Last active February 18, 2016 06:58
Show Gist options
  • Save imerr/e4c042d19af9a475e042 to your computer and use it in GitHub Desktop.
Save imerr/e4c042d19af9a475e042 to your computer and use it in GitHub Desktop.
Windows XP Targeting with ninja & visual studio 2012/2013
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"
set INCLUDE=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A\Include;%INCLUDE%
set PATH=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A\Bin;%PATH%
set LIB=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A\Lib;%LIB%
set CL=/D_USING_V110_SDK71_ /D_USING_V120_SDK71_ /D_WIN32_WINNT=0x0501 %CL%
set LINK=/SUBSYSTEM:WINDOWS,5.01 %LINK%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment