Commit | Line | Data |
---|---|---|
1 | @echo off | |
2 | REM Generation of vcproj files with qmake utilite | |
3 | REM Variable QTDIR and PATH to qmake executable must be defined without fail | |
4 | ||
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 | |
8 | ||
9 | call "%~dp0env.bat" %1 %2 %3 | |
10 | ||
11 | call "%VCVARS%" %VCARCH% | |
12 | ||
13 | qmake -tp vc -r -o FuncDemo.sln FuncDemo0.pro |