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