Line | |
---|
1 | set target=C:\Program Files\HeuristicLab 3.3
|
---|
2 |
|
---|
3 |
|
---|
4 | FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%" >nul
|
---|
5 |
|
---|
6 |
|
---|
7 | echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
|
---|
8 | if "%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 |
|
---|
24 | echo "CustomPostBuild done" |
---|
Note: See
TracBrowser
for help on using the repository browser.