Last change
on this file since 10166 was
6884,
checked in by abeham, 13 years ago
|
#1653
- Added Build.cmd to solution
- Changed CustomPostBuildTemplate and Files.txt to a more simpler format
- Changed MergeConfigs.cmd to merge every *.dll.config that it finds in the bin directory
|
File size:
1.0 KB
|
Rev | Line | |
---|
[3849] | 1 | set target=C:\Program Files\HeuristicLab 3.3
|
---|
[2492] | 2 |
|
---|
[6884] | 3 | FOR /F "skip=1 tokens=1 delims= usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%Outdir%\%%G" "%target%" >nul
|
---|
[2643] | 4 |
|
---|
| 5 | echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
|
---|
| 6 | if "%Platform%" == "x86" (
|
---|
[6867] | 7 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%Outdir%\%%G" "%target%" >nul
|
---|
[2643] | 8 | ) else if "%Platform%" == "x64" (
|
---|
[6867] | 9 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%Outdir%\%%G" "%target%" >nul
|
---|
[2643] | 10 | ) else if "%Platform%" == "AnyCPU" (
|
---|
| 11 | if "%PROCESSOR_ARCHITECTURE%" == "x64" (
|
---|
[6867] | 12 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%Outdir%\%%G" "%target%" >nul
|
---|
[2643] | 13 | ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
|
---|
[6867] | 14 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%Outdir%\%%G" "%target%" >nul
|
---|
[2643] | 15 | ) else (
|
---|
| 16 | echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
|
---|
| 17 | )
|
---|
| 18 | ) else (
|
---|
| 19 | echo "ERROR: unknown platform: %Platform%"
|
---|
| 20 | )
|
---|
| 21 |
|
---|
| 22 | echo "CustomPostBuild done" |
---|
Note: See
TracBrowser
for help on using the repository browser.