Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab/CopyAssemblies.cmd @ 2601

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

Changed configuration so that file lists are not copied to output directory and added script to create a console application. #799

File size: 938 bytes
RevLine 
[2601]1FOR /F "skip=1 tokens=1-2 delims=:" %%G IN (%ProjectDir%\Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" .\
[5]2
[2598]3
[1403]4echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
5if "%Platform%" == "x86" (   
[2601]6  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" .\
[1403]7) else if "%Platform%" == "x64" (
[2601]8  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" .\
[1403]9) else if "%Platform%" == "AnyCPU" (
10  if "%PROCESSOR_ARCHITECTURE%" == "x64" (
[2601]11  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" .\
[1403]12  ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
[2601]13  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" .\
[1403]14  ) else (
15    echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
16  )
17) else (
18  echo "ERROR: unknown platform: %Platform%"
19)
[2601]20
21echo "CopyAssemblies done"
Note: See TracBrowser for help on using the repository browser.