From: bugmaster <> Date: Thu, 6 Oct 2011 08:09:29 +0000 (+0000) Subject: Adding generation files for vc projects X-Git-Tag: V6_5_2~1 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=a48afd1822d29856156bb227129265b09f62accf;p=occt-copy.git Adding generation files for vc projects --- diff --git a/samples/qt/IESample/generation-vc-projects.bat b/samples/qt/IESample/generation-vc-projects.bat new file mode 100644 index 0000000000..047caa2ec0 --- /dev/null +++ b/samples/qt/IESample/generation-vc-projects.bat @@ -0,0 +1,19 @@ +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 second argument specifies architecture) (win32 or win64) + +call "%~dp0..\..\..\ros\env_build.bat" %1 %2 + +IF NOT DEFINED QTDIR GOTO ERR_QTDIR + +SET PATH=%QTDIR%\bin;%PATH% + +qmake -tp vc -r Tutorial.pro + +:ERR_QTDIR +ECHO Environment variable "QTDIR" has not been defined. Abort. +GOTO END + +:END diff --git a/samples/qt/Tutorial/generation-vc-projects.bat b/samples/qt/Tutorial/generation-vc-projects.bat new file mode 100644 index 0000000000..047caa2ec0 --- /dev/null +++ b/samples/qt/Tutorial/generation-vc-projects.bat @@ -0,0 +1,19 @@ +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 second argument specifies architecture) (win32 or win64) + +call "%~dp0..\..\..\ros\env_build.bat" %1 %2 + +IF NOT DEFINED QTDIR GOTO ERR_QTDIR + +SET PATH=%QTDIR%\bin;%PATH% + +qmake -tp vc -r Tutorial.pro + +:ERR_QTDIR +ECHO Environment variable "QTDIR" has not been defined. Abort. +GOTO END + +:END