fork(2255) download
  1. REM sfml-nmake-build.bat
  2. REM Automates the building of the SFML 2.0 binaries with NMake for development
  3. REM with Visual C++.
  4. REM
  5. REM DO NOT REMOVE THE FOLLOWING NOTICE
  6. REM Copyright (C) Alex Thorne 2011
  7. REM Created by SFMLCoder/Xander314/Xephyr
  8. REM http://s...content-available-to-author-only...s.com/
  9. REM http://w...content-available-to-author-only...e.com/SFMLCoder/
  10. REM
  11. REM This file is licensed to you in the public domain.
  12. REM Please note that this file is AS-IS. I am in no way responsible for this
  13. REM file's suitability for purpose, nor am I responsible for any damage it causes
  14. REM to you, your computer and setup or any third party, even if I was advised of
  15. REM the possibility of this damage.
  16. REM
  17.  
  18. REM By default, this script requires the SFML 2.0 source to have been extracted
  19. REM to c:/sfml/sfml2/
  20. REM To use another directory, change the SFML_DIR variable below
  21. set SFML_DIR c:/sfml/sfml2/
  22.  
  23. REM It also assumes that is is run from an environment in which nmake and cmake are
  24. REM locatable without full path qualification
  25.  
  26. @echo off
  27. echo building sfml2...
  28. echo this may take some time
  29. echo script created by SFML Coder
  30. echo http://s...content-available-to-author-only...s.com/
  31. echo
  32. cd c:/sfml/sfml2/
  33. echo makefile: release dll
  34. cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=TRUE -D STATIC_STD_LIBS=FALSE SFML_DIR
  35. echo build release dlls
  36. nmake
  37. echo makefile
  38. cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Debug -D BUILD_SHARED_LIBS=TRUE -D STATIC_STD_LIBS=FALSE SFML_DIR
  39. echo build release dlls
  40. nmake
  41. echo makefile: release static
  42. cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=FALSE -D STATIC_STD_LIBS=FALSE SFML_DIR
  43. echo build release libraries
  44. nmake
  45. echo makefile: debug static
  46. cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Debug -D BUILD_SHARED_LIBS=FALSE -D STATIC_STD_LIBS=FALSE SFML_DIR
  47. echo build debug libraries
  48. nmake
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
Standard output is empty