Skip to content
This repository
Browse code

[WIN32] fixed: copy and rename the pdb file to the build setup direct…

…ory that jenkins can grab it as well.
  • Loading branch information...
commit 279fec3734a268a15cd1c1f86fb02b13d8e89e77 1 parent 598cda3
wsoltys authored March 27, 2013

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  project/Win32BuildSetup/BuildSetup.bat
3  project/Win32BuildSetup/BuildSetup.bat
@@ -57,6 +57,7 @@ IF %comp%==vs2010 (
57 57
   set OPTS_EXE="..\VS2010Express\XBMC for Windows.sln" /build "%buildconfig%"
58 58
   set CLEAN_EXE="..\VS2010Express\XBMC for Windows.sln" /clean "%buildconfig%"
59 59
   set EXE= "..\VS2010Express\XBMC\%buildconfig%\XBMC.exe"
  60
+  set PDB= "..\VS2010Express\XBMC\%buildconfig%\XBMC.pdb"
60 61
 	
61 62
   rem	CONFIG END
62 63
   rem -------------------------------------------------------------
@@ -240,6 +241,7 @@ IF %comp%==vs2010 (
240 241
   call getdeploydependencies.bat
241 242
   CALL extract_git_rev.bat > NUL
242 243
   SET XBMC_SETUPFILE=XBMCSetup-%GIT_REV%-%target%.exe
  244
+  SET XBMC_PDBFILE=XBMCSetup-%GIT_REV%-%target%.pdb
243 245
   ECHO Creating installer %XBMC_SETUPFILE%...
244 246
   IF EXIST %XBMC_SETUPFILE% del %XBMC_SETUPFILE% > NUL
245 247
   rem get path to makensis.exe from registry, first try tab delim
@@ -283,6 +285,7 @@ IF %comp%==vs2010 (
283 285
 	  set DIETEXT=Failed to create %XBMC_SETUPFILE%. NSIS installed?
284 286
 	  goto DIE
285 287
   )
  288
+  copy %PDB% %XBMC_PDBFILE% > nul
286 289
   ECHO ------------------------------------------------------------
287 290
   ECHO Done!
288 291
   ECHO Setup is located at %CD%\%XBMC_SETUPFILE%

0 notes on commit 279fec3

Please sign in to comment.
Something went wrong with that request. Please try again.