2 REM Generation of vcproj files with qmake utilite
3 REM Variable QTDIR and PATH to qmake executable must be defined without fail
5 REM Use first argument to specify version of Visual Studio (vc10, vc11, vc12 or vc14),
6 REM second argument specifies architecture) (win32 or win64)
7 REM third argument specifies Debug or Release mode
9 call "%~dp0env.bat" %1 %2 %3
11 if ["%VCARCH%"] == [""] set "VCARCH=%ARCH%"
12 if ["%VCARCH%"] == ["64"] set "VCARCH=amd64"
13 if ["%VCARCH%"] == ["32"] set "VCARCH=x86"
15 call "%VCVARS%" %VCARCH%
17 qmake -tp vc -r -o OCCTOverview.sln OCCTOverview0.pro