mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-02 17:46:22 +03:00
0027127: Implementation of compilation of OCCT Products samples on all platforms under support in Jenkins test system.
Removing old VC environment
This commit is contained in:
parent
6482df8152
commit
693c4bbe60
@ -35,5 +35,5 @@ if exist "%DevEnvDir%\devenv.exe" (
|
||||
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^)
|
||||
)
|
||||
|
@ -46,5 +46,5 @@ if exist "%DevEnvDir%\devenv.exe" (
|
||||
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^)
|
||||
)
|
||||
|
@ -25,7 +25,7 @@ goto eof
|
||||
: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
|
||||
|
@ -21,13 +21,13 @@ projects. When such project is rebuilt, all samples and *mfcsample* library are
|
||||
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
|
||||
~~~~
|
||||
|
||||
|
||||
@ -37,13 +37,13 @@ execute run.bat vc8 win32 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.
|
@ -35,5 +35,5 @@ if exist "%DevEnvDir%\devenv.exe" (
|
||||
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^)
|
||||
)
|
||||
|
@ -24,7 +24,7 @@ goto eof
|
||||
|
||||
: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
|
||||
|
@ -2,7 +2,7 @@
|
||||
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
|
||||
|
||||
@ -23,7 +23,7 @@ if not "%VCVER%" == "" (
|
||||
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
|
||||
)
|
||||
)
|
||||
|
@ -35,5 +35,5 @@ if exist "%DevEnvDir%\devenv.exe" (
|
||||
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^)
|
||||
)
|
||||
|
@ -2,7 +2,7 @@
|
||||
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
|
||||
|
||||
@ -23,7 +23,7 @@ if not "%VCVER%" == "" (
|
||||
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
|
||||
)
|
||||
)
|
||||
|
@ -10,11 +10,7 @@ set "PRJFILE=%~dp0IESample.sln"
|
||||
|
||||
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"
|
||||
@ -24,6 +20,9 @@ if /I "%VCVER%" == "vc8" (
|
||||
) 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
|
||||
@ -36,5 +35,5 @@ if exist "%DevEnvDir%\devenv.exe" (
|
||||
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^)
|
||||
)
|
||||
|
@ -2,7 +2,7 @@
|
||||
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
|
||||
|
||||
@ -23,7 +23,7 @@ if not "%VCVER%" == "" (
|
||||
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
|
||||
)
|
||||
)
|
||||
|
@ -35,5 +35,5 @@ if exist "%DevEnvDir%\devenv.exe" (
|
||||
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^)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user