Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive/3.3/CustomPostBuild.cmd @ 4296

Last change on this file since 4296 was 4296, checked in by cneumuel, 14 years ago

corrected assembly reference paths, added some missing files

File size: 1.2 KB
Line 
1set target=C:\Program Files\HeuristicLab 3.3
2
3;copy "HeuristicLab 3.3.exe" "%target%"
4copy "HeuristicLab 3.3.exe.config" "%target%"
5;copy HeuristicLab.PluginInfrastructure-3.3.dll "%target%"
6
7FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%" >nul
8
9echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
10if "%Platform%" == "x86" (   
11  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
12) else if "%Platform%" == "x64" (
13  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
14) else if "%Platform%" == "AnyCPU" (
15  if "%PROCESSOR_ARCHITECTURE%" == "x64" (
16  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
17  ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
18  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
19  ) else (
20    echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
21  )
22) else (
23  echo "ERROR: unknown platform: %Platform%"
24)
25
26echo "CustomPostBuild done"
Note: See TracBrowser for help on using the repository browser.