Free cookie consent management tool by TermsFeed Policy Generator

source: tags/3.3.6/HeuristicLab/3.3/CustomPostBuildTemplate_UpdateLocalInstallation.cmd @ 12520

Last change on this file since 12520 was 7263, checked in by swagner, 13 years ago

Removed plugins which are not included in the 3.3.6 release and updated files of the 3.3.6 release tag (#1716)

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