Ignore:
Timestamp:
01/05/10 17:19:07 (11 years ago)
Author:
gkronber
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/CopyAssemblies.cmd

    r2598 r2601  
    1 FOR /F "skip=1 tokens=1-2 delims=:" %%G IN (Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" .\
     1FOR /F "skip=1 tokens=1-2 delims=:" %%G IN (%ProjectDir%\Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" .\
    22
    33
    44echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
    55if "%Platform%" == "x86" (   
    6   FOR /F "skip=1 tokens=*" %%G IN (Files.x86.txt) DO copy "%SolutionDir%\%%G" .\
     6  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" .\
    77) else if "%Platform%" == "x64" (
    8   FOR /F "skip=1 tokens=*" %%G IN (Files.x64.txt) DO copy "%SolutionDir%\%%G" .\
     8  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" .\
    99) else if "%Platform%" == "AnyCPU" (
    1010  if "%PROCESSOR_ARCHITECTURE%" == "x64" (
    11   FOR /F "skip=1 tokens=*" %%G IN (Files.x64.txt) DO copy "%SolutionDir%\%%G" .\
     11  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" .\
    1212  ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
    13   FOR /F "skip=1 tokens=*" %%G IN (Files.x86.txt) DO copy "%SolutionDir%\%%G" .\
     13  FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" .\
    1414  ) else (
    1515    echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
     
    1818  echo "ERROR: unknown platform: %Platform%"
    1919)
     20
     21echo "CopyAssemblies done"
Note: See TracChangeset for help on using the changeset viewer.