Adding generation files for vc projects
[occt.git] / samples / qt / IESample / generation-vc-projects.bat
1 REM Generation of vcproj files with qmake utilite\r
2 REM Variable QTDIR and PATH to qmake executable must be defined without fail\r
3 \r
4 REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),\r
5 REM second argument specifies architecture) (win32 or win64)\r
6 \r
7 call "%~dp0..\..\..\ros\env_build.bat" %1 %2\r
8 \r
9 IF NOT DEFINED QTDIR GOTO ERR_QTDIR\r
10 \r
11 SET PATH=%QTDIR%\bin;%PATH%\r
12 \r
13 qmake -tp vc -r Tutorial.pro\r
14 \r
15 :ERR_QTDIR\r
16 ECHO Environment variable "QTDIR" has not been defined. Abort.\r
17 GOTO END\r
18 \r
19 :END\r