Rev | Line | |
---|
[5518] | 1 | FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO echo "%%H" && copy "%SolutionDir%\%%G\%Outdir%\%%H" .\
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
|
---|
| 5 | if "%Platform%" == "x86" (
|
---|
| 6 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
|
---|
| 7 | ) else if "%Platform%" == "x64" (
|
---|
| 8 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
|
---|
| 9 | ) else if "%Platform%" == "AnyCPU" (
|
---|
| 10 | if "%PROCESSOR_ARCHITECTURE%" == "x64" (
|
---|
| 11 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
|
---|
| 12 | ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
|
---|
| 13 | FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
|
---|
| 14 | ) else (
|
---|
| 15 | echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
|
---|
| 16 | )
|
---|
| 17 | ) else (
|
---|
| 18 | echo "ERROR: unknown platform: %Platform%"
|
---|
| 19 | )
|
---|
| 20 |
|
---|
| 21 | echo "CopyAssemblies done" |
---|
Note: See
TracBrowser
for help on using the repository browser.