]> git.sesse.net Git - casparcg/blobdiff - build-scripts/build-windows.bat
* Removed unused file
[casparcg] / build-scripts / build-windows.bat
index adccea7f5f4aedbd3c815f05ef41c89fda7b5cc1..4570d51ea3f88b0bc56302e58f85db69b62662db 100644 (file)
@@ -18,11 +18,11 @@ echo Unpacking archived dependencies...
 
 :: Setup VC++ environment
 echo Setting up VC++...
-call "%BUILD_VCVARSALL%" x64 || goto :error
+call "%BUILD_VCVARSALL%" amd64 || goto :error
 
 :: Run cmake
 cd build || goto :error
-cmake -G "Visual Studio 12 2013" -A x64 .. || goto :error
+cmake -G "Visual Studio 14 2015" -A x64 .. || goto :error
 
 :: Build with MSBuild
 echo Building...
@@ -57,7 +57,8 @@ copy ..\README.txt "%SERVER_FOLDER%" || goto :error
 
 :: Create zip file
 echo Creating zip...
-"%BUILD_7ZIP%" a "%BUILD_ARCHIVE_NAME%.zip" "%SERVER_FOLDER%" || goto :error
+"%BUILD_7ZIP%" a -x!"%SERVER_FOLDER%\Server\casparcg.pdb" "%BUILD_ARCHIVE_NAME%.zip" "%SERVER_FOLDER%" || goto :error
+"%BUILD_7ZIP%" a "%BUILD_ARCHIVE_NAME%_debug_symbols.zip" "%SERVER_FOLDER%\Server\casparcg.pdb" || goto :error
 
 :: Skip exiting with failure
 goto :EOF