Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [%1] == [debug] ( cd int-debug ) else ( cd int-release )
- set PATH=C:\Program Files\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
- set INCLUDE=C:\Program Files\Microsoft Visual Studio 10.0\VC\include;../../SGEngine
- set LIB=C:\Program Files\Microsoft Visual Studio 10.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib;../../Lib
- set baselibs=kernel32.lib gdi32.lib user32.lib comdlg32.lib
- set baseopts=/DWIN32 /DWINDOWS
- if [%1] == [debug] (
- cl /Fe../debug/packer-d.exe /D_DEBUG %baseopts% ../packer.cpp SGEngineD.lib %baselibs%
- ) else (
- cl /Fe../packer.exe /O2 /DNDEBUG %baseopts% ../packer.cpp SGEngine.lib %baselibs%
- )
- cd ../
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement