From c67f750862993f329eb72bdb20d3b891ddc3df7f Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 2 Sep 2015 11:41:49 +0100 Subject: [PATCH] Archive PDB files inside the build script. --- build_release_windows.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_release_windows.bat b/build_release_windows.bat index b368586..53d3685 100755 --- a/build_release_windows.bat +++ b/build_release_windows.bat @@ -81,6 +81,10 @@ subst X: %WORKSPACE%. REM ensure output dir is clean since we upload the entirety of it rmdir /S /Q output +REM archiving PDB files +copy %WORKSPACE%\build-fg32\src\Main\RelWithDebInfo\fgfs.pdb %WORKSPACE%\Output\fgfs-x86-%BUILD_NUMBER%.pdb +copy %WORKSPACE%\build-fg64\src\Main\RelWithDebInfo\fgfs.pdb %WORKSPACE%\Output\fgfs-x64-%BUILD_NUMBER%.pdb + REM indirect way to get command output into an environment variable set PATH=%WORKSPACE%\install\msvc100\OpenSceneGraph\bin;%PATH% osgversion --so-number > %TEMP%\osg-so-number.txt