Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2639


Ignore:
Timestamp:
01/18/10 16:37:33 (14 years ago)
Author:
mkommend
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/CreateConsoleApplication.cmd

    r2601 r2639  
    11copy HeuristicLab.exe HeuristicLab.Console.exe
    2 @call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
    3 @editbin.exe /subsystem:console 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)
    423
    524echo "Done creating console application"
Note: See TracChangeset for help on using the changeset viewer.