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:
1.1 KB
|
Rev | Line | |
---|
[39] | 1 | set target=C:\Program Files\HeuristicLab 3.0
|
---|
| 2 |
|
---|
[2598] | 3 | copy HeuristicLab.exe "%target%"
|
---|
| 4 | copy HeuristicLab.exe.config "%target%"
|
---|
| 5 | copy HeuristicLab.PluginInfrastructure.dll "%target%"
|
---|
[2596] | 6 |
|
---|
[2601] | 7 | FOR /F "skip=1 tokens=1-2 delims=:" %%G IN (%ProjectDir%\Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%"
|
---|
[2596] | 8 |
|
---|
[2598] | 9 |
|
---|
| 10 | echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
|
---|
| 11 | if "%Platform%" == "x86" (
|
---|
[2601] | 12 | FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%"
|
---|
[2598] | 13 | ) else if "%Platform%" == "x64" (
|
---|
[2601] | 14 | FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%"
|
---|
[2598] | 15 | ) else if "%Platform%" == "AnyCPU" (
|
---|
| 16 | if "%PROCESSOR_ARCHITECTURE%" == "x64" (
|
---|
[2601] | 17 | FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%"
|
---|
[2598] | 18 | ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
|
---|
[2601] | 19 | FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%"
|
---|
[2598] | 20 | ) else (
|
---|
| 21 | echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
|
---|
| 22 | )
|
---|
| 23 | ) else (
|
---|
| 24 | echo "ERROR: unknown platform: %Platform%"
|
---|
| 25 | )
|
---|
[2601] | 26 |
|
---|
| 27 | echo "CustomPostBuild done" |
---|
Note: See
TracBrowser
for help on using the repository browser.