Last change
on this file since 6653 was
3849,
checked in by mkommend, 15 years ago
|
corrected files.txt and CustomPostBuildTemplate (ticket #1000)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[3849] | 1 | set target=C:\Program Files\HeuristicLab 3.3
|
---|
[2492] | 2 |
|
---|
[3849] | 3 | copy "HeuristicLab 3.3.exe" "%target%"
|
---|
| 4 | copy "HeuristicLab 3.3.exe.config" "%target%"
|
---|
| 5 | copy HeuristicLab.PluginInfrastructure-3.3.dll "%target%"
|
---|
[2643] | 6 |
|
---|
| 7 | FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%" >nul
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
|
---|
| 11 | if "%Platform%" == "x86" (
|
---|
| 12 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
|
---|
| 13 | ) else if "%Platform%" == "x64" (
|
---|
| 14 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
|
---|
| 15 | ) else if "%Platform%" == "AnyCPU" (
|
---|
| 16 | if "%PROCESSOR_ARCHITECTURE%" == "x64" (
|
---|
| 17 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
|
---|
| 18 | ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
|
---|
| 19 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
|
---|
| 20 | ) else (
|
---|
| 21 | echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
|
---|
| 22 | )
|
---|
| 23 | ) else (
|
---|
| 24 | echo "ERROR: unknown platform: %Platform%"
|
---|
| 25 | )
|
---|
| 26 |
|
---|
| 27 | echo "CustomPostBuild done" |
---|
Note: See
TracBrowser
for help on using the repository browser.