Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.2/sources/HeuristicLab/CreateConsoleApplication.cmd @ 8614

Last change on this file since 8614 was 2639, checked in by mkommend, 15 years ago

update create console application for x64 systems (ticket #799)

File size: 1.3 KB
Line 
1copy HeuristicLab.exe HeuristicLab.Console.exe
2
3echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
4if "%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
24echo "Done creating console application"
Note: See TracBrowser for help on using the repository browser.