setup.bat 845 B

123456789101112131415161718192021222324252627282930313233
  1. @ECHO OFF
  2. cls
  3. echo Downloading dependencies, please wait...
  4. IF EXIST Temp (
  5. echo !!!Error: Temp folder already exists at path %cd%\Temp. Please delete or rename it before continuing.
  6. exit /B
  7. )
  8. mkdir Temp
  9. cd Temp
  10. "../Scripts/tools/curl/curl" http://bearishsun.thalassa.feralhosting.com/BansheeDependencies_VS2015_Master.zip -o Dependencies.zip
  11. cls
  12. echo Download successful! Extracting...
  13. "../Scripts/tools/7z/7za" x Dependencies.zip
  14. move /Y Built/bin ../
  15. move /Y Built/Dependencies ../
  16. cd ..
  17. rmdir Temp /S /Q
  18. cls
  19. echo Extraction done! Generating Visual Studio solution...
  20. IF NOT EXIST Build mkdir Build
  21. cd Build
  22. IF NOT EXIST VS2015 mkdir VS2015
  23. cd VS2015
  24. "../../Dependencies/tools/cmake/bin/cmake" -G "Visual Studio 14 2015 Win64" ../../Source
  25. cd ../..
  26. cls
  27. echo All done! Visual Studio solution provided at %cd%/Build/VS2015/Banshee.sln