Changeset 2639 for trunk/sources/HeuristicLab
- Timestamp:
- 01/18/10 16:37:33 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab/CreateConsoleApplication.cmd
r2601 r2639 1 1 copy 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 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 ) 4 23 5 24 echo "Done creating console application"
Note: See TracChangeset
for help on using the changeset viewer.