Advertisement
snake5

SGEngine tool build script

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