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