Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.DataAnalysis.Trading/Main/CustomPostBuild.cmd @ 6307

Last change on this file since 6307 was 6127, checked in by gkronber, 14 years ago

#1508 added main project to build and install the plugin for optimization of trading rules.

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