Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
732 B

  1. @setlocal
  2. @if "%1"=="2013" goto 2013
  3. @if "%1"=="2010" goto 2010
  4. @echo Specify 2010 or 2013 as a command line argument.
  5. @exit /b
  6. @:2010
  7. set VARSBAT="%VS100COMNTOOLS%vsvars32.bat"
  8. set SLN=cryptest2010
  9. set PROJECT=cryptlib
  10. @goto make
  11. @:2013
  12. set VARSBAT="%VS120COMNTOOLS%vsvars32.bat"
  13. set SLN=cryptest2013
  14. set PROJECT=cryptlib2013
  15. @goto make
  16. :make
  17. if not defined VSINSTALLDIR (
  18. call %VARSBAT%
  19. )
  20. del *.lib /s
  21. devenv %SLN%.sln /rebuild "release|win32" /project %PROJECT%
  22. devenv %SLN%.sln /rebuild "debug|win32" /project %PROJECT%
  23. devenv %SLN%.sln /rebuild "release|x64" /project %PROJECT%
  24. devenv %SLN%.sln /rebuild "debug|x64" /project %PROJECT%
  25. @echo The post-build steps in the .vcxproj file copy the .libs to the destinations.