From 692aea8e8d09163da3e05181784fd0b79efea8af Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 3 Nov 2009 23:20:28 +0000 Subject: Added batch files to create default project files using the create_msvc tool svn-id: r45647 --- dists/msvc8/create_msvc8.bat | 30 ++++++++++++++++++++++++++++++ dists/msvc8/readme.txt | 8 +++----- dists/msvc9/create_msvc9.bat | 30 ++++++++++++++++++++++++++++++ dists/msvc9/readme.txt | 8 +++----- 4 files changed, 66 insertions(+), 10 deletions(-) create mode 100644 dists/msvc8/create_msvc8.bat create mode 100644 dists/msvc9/create_msvc9.bat diff --git a/dists/msvc8/create_msvc8.bat b/dists/msvc8/create_msvc8.bat new file mode 100644 index 0000000000..dcd6e64ddf --- /dev/null +++ b/dists/msvc8/create_msvc8.bat @@ -0,0 +1,30 @@ +@echo off +echo. +echo Automatic creation of the MSVC8 project files +echo. + +if not exist create_msvc.exe goto no_tool + +choice /m "Do you want to enable all engines? " +if errorlevel 2 goto normal_build +if errorlevel 1 goto all_engines + +:no_tool +echo create_msvc.exe not found in the current folder. +echo You need to build it first and copy it in this +echo folder +goto done + +:all_engines +echo Creating project files with all engines enabled +create_msvc ..\.. --enable-all-engines --msvc-version 8 +goto done + +:normal_build +echo Creating normal project files, with only the stable +echo engines enabled +create_msvc ..\.. --msvc-version 8 +goto done + +:done +pause diff --git a/dists/msvc8/readme.txt b/dists/msvc8/readme.txt index b11a79a382..1867872479 100644 --- a/dists/msvc8/readme.txt +++ b/dists/msvc8/readme.txt @@ -1,8 +1,6 @@ The Visual Studio project files can now be created automatically from the GCC files using the create_msvc tool inside the /tools/create_msvc folder. -To create the default project files, build create_msvc, copy it inside this -folder and run it like this: -create_msvc ..\.. --msvc-version 8 - -Run the tool with no parameters to check the possible command-line options +To create the default project files, build create_msvc.exe, copy it inside this +folder and run the create_msvc8.bat file for a default build. You can run +create_msvc.exe with no parameters to check the possible command-line options diff --git a/dists/msvc9/create_msvc9.bat b/dists/msvc9/create_msvc9.bat new file mode 100644 index 0000000000..25af270ad9 --- /dev/null +++ b/dists/msvc9/create_msvc9.bat @@ -0,0 +1,30 @@ +@echo off +echo. +echo Automatic creation of the MSVC9 project files +echo. + +if not exist create_msvc.exe goto no_tool + +choice /m "Do you want to enable all engines? " +if errorlevel 2 goto normal_build +if errorlevel 1 goto all_engines + +:no_tool +echo create_msvc.exe not found in the current folder. +echo You need to build it first and copy it in this +echo folder +goto done + +:all_engines +echo Creating project files with all engines enabled +create_msvc ..\.. --enable-all-engines --msvc-version 9 +goto done + +:normal_build +echo Creating normal project files, with only the stable +echo engines enabled +create_msvc ..\.. --msvc-version 9 +goto done + +:done +pause diff --git a/dists/msvc9/readme.txt b/dists/msvc9/readme.txt index c6e8f1f0c0..2efbfc9b31 100644 --- a/dists/msvc9/readme.txt +++ b/dists/msvc9/readme.txt @@ -1,8 +1,6 @@ The Visual Studio project files can now be created automatically from the GCC files using the create_msvc tool inside the /tools/create_msvc folder. -To create the default project files, build create_msvc, copy it inside this -folder and run it like this: -create_msvc ..\.. --msvc-version 9 - -Run the tool with no parameters to check the possible command-line options +To create the default project files, build create_msvc.exe, copy it inside this +folder and run the create_msvc9.bat file for a default build. You can run +create_msvc.exe with no parameters to check the possible command-line options -- cgit v1.2.3