Last change
on this file since 3155 was
2639,
checked in by mkommend, 15 years ago
|
update create console application for x64 systems (ticket #799)
|
File size:
1.3 KB
|
Rev | Line | |
---|
[2601] | 1 | copy HeuristicLab.exe HeuristicLab.Console.exe
|
---|
| 2 |
|
---|
[2639] | 3 | echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
|
---|
| 4 | if "%Platform%" == "x86" (
|
---|
| 5 | @call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
---|
| 6 | @call "c:\Program Files\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /subsystem:console HeuristicLab.Console.exe
|
---|
| 7 | ) else if "%Platform%" == "x64" (
|
---|
| 8 | @call "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x64
|
---|
| 9 | @call "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /subsystem:console HeuristicLab.Console.exe
|
---|
| 10 | ) else if "%Platform%" == "AnyCPU" (
|
---|
| 11 | if "%PROCESSOR_ARCHITECTURE%" == "x64" (
|
---|
| 12 | @call "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x64
|
---|
| 13 | @call "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /subsystem:console HeuristicLab.Console.exe
|
---|
| 14 | ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
|
---|
| 15 | @call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
---|
| 16 | @call "c:\Program Files\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /subsystem:console HeuristicLab.Console.exe
|
---|
| 17 | ) else (
|
---|
| 18 | echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
|
---|
| 19 | )
|
---|
| 20 | ) else (
|
---|
| 21 | echo "ERROR: unknown platform: %Platform%"
|
---|
| 22 | )
|
---|
| 23 |
|
---|
[2601] | 24 | echo "Done creating console application"
|
---|
Note: See
TracBrowser
for help on using the repository browser.