start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
- echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
+ echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)
)
start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
- echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
+ echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)
)
:err_bat
echo Possible names of samples: WinForms, WPF_D3D, WPF_WinForms
echo Launch selected sample as follows:
-echo %~n0.bat [^vc8^|^vc9^|^vc10^|^vc11^|vc12] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^]
+echo %~n0.bat [^vc10^|^vc11^|^vc12^|^vc14^] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^]
echo or
echo %~n0.bat [^SampleName^]
echo Run %~n0.bat -h to get this help
To run the Open CASCADE Technology samples, use command:
~~~~
-execute run.bat [vc8|vc9|vc10|vc11|vc12] [win32|win64] [Release|Debug] [SampleName]
+execute run.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug] [SampleName]
~~~~
To run the **Animation** sample, use command:
~~~~
-execute run.bat vc8 win32 Debug Animation
+execute run.bat vc10 win64 Debug Animation
~~~~
You can modify, compile and launch all sample projects in MS Visual C++ at once with command:
~~~~
-execute msvc.bat [vc8|vc9|vc10|vc11|vc12] [win32|win64] [Release|Debug]
+execute msvc.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug]
~~~~
To run all sample projects in MS Visual C++ at once, use command:
~~~~
-execute msvc.bat vc8 win32 Debug
+execute msvc.bat vc10 win64 Debug
~~~~
Note: make sure that your *PATH* environment variable contains a directory, where *msdev.exe* is located.
\ No newline at end of file
start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
- echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
+ echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)
)
:err_bat
echo Launch selected sample as follows:
-echo %~n0.bat [^vc8^|^vc9^|^vc10^|^vc11^|vc12] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^]
+echo %~n0.bat [^vc10^|^vc11^|^vc12^|^vc14^] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^]
echo or
echo %~n0.bat [^SampleName^]
echo Run %~n0.bat -h to get this help
REM Generation of vcproj files with qmake utilite
REM Variable QTDIR and PATH to qmake executable must be defined without fail
-REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),
+REM Use first argument to specify version of Visual Studio (vc10, vc11, vc12 or vc14),
REM second argument specifies architecture) (win32 or win64)
REM third argument specifies Debug or Release mode
set "VCVARS=%VS140COMNTOOLS%..\..\VC\vcvarsall.bat"
) else (
echo Error: first argument ^(%VCVER%^) should specify supported version of Visual C++,
- echo one of: vc8 ^(VS 2005 SP1^), vc9 ^(VS 2008 SP1^), vc10 ^(VS 2010^) or vc11 ^(VS 2012^)
+ echo one of: vc10 ^(VS 2010 SP3^), vc11 ^(VS 2012 SP3^), vc12 ^(VS 2013^) or vc14 ^(VS 2015^)
exit
)
)
start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
- echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
+ echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)
)
REM Generation of vcproj files with qmake utilite
REM Variable QTDIR and PATH to qmake executable must be defined without fail
-REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),
+REM Use first argument to specify version of Visual Studio (vc10, vc11, vc12 or vc14),
REM second argument specifies architecture) (win32 or win64)
REM third argument specifies Debug or Release mode
set "VCVARS=%VS140COMNTOOLS%..\..\VC\vcvarsall.bat"
) else (
echo Error: first argument ^(%VCVER%^) should specify supported version of Visual C++,
- echo one of: vc8 ^(VS 2005 SP1^), vc9 ^(VS 2008 SP1^), vc10 ^(VS 2010^) or vc11 ^(VS 2012^)
+ echo one of: vc10 ^(VS 2010 SP3^), vc11 ^(VS 2008 SP3^), vc12 ^(VS 2013^) or vc14 ^(VS 2015^)
exit
)
)
set "VisualStudioExpressName=VCExpress"
-if /I "%VCVER%" == "vc8" (
- set "DevEnvDir=%VS80COMNTOOLS%..\IDE"
-) else if /I "%VCVER%" == "vc9" (
- set "DevEnvDir=%VS90COMNTOOLS%..\IDE"
-) else if /I "%VCVER%" == "vc10" (
+if /I "%VCVER%" == "vc10" (
set "DevEnvDir=%VS100COMNTOOLS%..\IDE"
) else if /I "%VCVER%" == "vc11" (
set "DevEnvDir=%VS110COMNTOOLS%..\IDE"
) else if /I "%VCVER%" == "vc12" (
set "DevEnvDir=%VS120COMNTOOLS%..\IDE"
set "VisualStudioExpressName=WDExpress"
+) else if /I "%VCVER%" == "vc14" (
+ set "DevEnvDir=%VS140COMNTOOLS%..\IDE"
+ set "VisualStudioExpressName=WDExpress"
) else (
echo Error: wrong VS identifier
exit /B
start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
- echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
+ echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)
)
REM Generation of vcproj files with qmake utilite
REM Variable QTDIR and PATH to qmake executable must be defined without fail
-REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),
+REM Use first argument to specify version of Visual Studio (vc10, vc11, vc12 or vc14),
REM second argument specifies architecture) (win32 or win64)
REM third argument specifies Debug or Release mode
set "VCVARS=%VS140COMNTOOLS%..\..\VC\vcvarsall.bat"
) else (
echo Error: first argument ^(%VCVER%^) should specify supported version of Visual C++,
- echo one of: vc8 ^(VS 2005 SP1^), vc9 ^(VS 2008 SP1^), vc10 ^(VS 2010^) or vc11 ^(VS 2012^)
+ echo one of: vc10 ^(VS 2010 SP3^), vc11 ^(VS 2012 SP3^), vc12 ^(VS 2013^) or vc14 ^(VS 2015^)
exit
)
)
start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
- echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
+ echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)
)