mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
Automatic update of EOLs
This commit is contained in:
@@ -1,35 +1,35 @@
|
||||
@ECHO OFF
|
||||
|
||||
call "%~dp0env.bat"
|
||||
|
||||
IF NOT EXIST win32\vc8\obj goto QTSET
|
||||
|
||||
IF NOT EXIST "%QTDIR%" goto QTSET
|
||||
|
||||
goto QT
|
||||
|
||||
:QTSET
|
||||
|
||||
SET QTDIR=%ROOT%\3rdparty\win32\qt
|
||||
SET PATH=%QTDIR%;%PATH%
|
||||
|
||||
:QT
|
||||
|
||||
if not exist "%BIN_DIR%\Tutorial.exe" goto ERR_EXE
|
||||
|
||||
echo %QTDIR%
|
||||
echo Starting IESample .....
|
||||
start /D "%BIN_DIR%" Tutorial.exe
|
||||
|
||||
|
||||
|
||||
GOTO END
|
||||
|
||||
:ERR_EXE
|
||||
ECHO Executable %BIN_DIR%\Tutorial.exe not found."
|
||||
ECHO Probably you didn't compile the application.
|
||||
pause
|
||||
GOTO END
|
||||
|
||||
:END
|
||||
|
||||
@ECHO OFF
|
||||
|
||||
call "%~dp0env.bat"
|
||||
|
||||
IF NOT EXIST win32\vc8\obj goto QTSET
|
||||
|
||||
IF NOT EXIST "%QTDIR%" goto QTSET
|
||||
|
||||
goto QT
|
||||
|
||||
:QTSET
|
||||
|
||||
SET QTDIR=%ROOT%\3rdparty\win32\qt
|
||||
SET PATH=%QTDIR%;%PATH%
|
||||
|
||||
:QT
|
||||
|
||||
if not exist "%BIN_DIR%\Tutorial.exe" goto ERR_EXE
|
||||
|
||||
echo %QTDIR%
|
||||
echo Starting IESample .....
|
||||
start /D "%BIN_DIR%" Tutorial.exe
|
||||
|
||||
|
||||
|
||||
GOTO END
|
||||
|
||||
:ERR_EXE
|
||||
ECHO Executable %BIN_DIR%\Tutorial.exe not found."
|
||||
ECHO Probably you didn't compile the application.
|
||||
pause
|
||||
GOTO END
|
||||
|
||||
:END
|
||||
|
||||
|
@@ -1,23 +1,23 @@
|
||||
@echo off
|
||||
rem Launch MS VC with environment prepared for building OCCT qt tutorial
|
||||
|
||||
rem Set build environment
|
||||
|
||||
call %~dp0env.bat
|
||||
|
||||
call %~dp0..\..\..\ros\env_build.bat vc8 win32
|
||||
|
||||
rem Define path to project file
|
||||
set PRJFILE=%~dp0Tutorial-vc8.sln
|
||||
|
||||
rem Launch Visual Studio - either professional (devenv) or Express, as available
|
||||
if exist "%DevEnvDir%\devenv.exe" (
|
||||
start devenv.exe "%PRJFILE%" /useenv
|
||||
) else if exist "%DevEnvDir%\VCExpress.exe" (
|
||||
start VCExpress.exe "%PRJFILE%" /useenv
|
||||
) else (
|
||||
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
|
||||
echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
|
||||
)
|
||||
|
||||
|
||||
@echo off
|
||||
rem Launch MS VC with environment prepared for building OCCT qt tutorial
|
||||
|
||||
rem Set build environment
|
||||
|
||||
call %~dp0env.bat
|
||||
|
||||
call %~dp0..\..\..\ros\env_build.bat vc8 win32
|
||||
|
||||
rem Define path to project file
|
||||
set PRJFILE=%~dp0Tutorial-vc8.sln
|
||||
|
||||
rem Launch Visual Studio - either professional (devenv) or Express, as available
|
||||
if exist "%DevEnvDir%\devenv.exe" (
|
||||
start devenv.exe "%PRJFILE%" /useenv
|
||||
) else if exist "%DevEnvDir%\VCExpress.exe" (
|
||||
start VCExpress.exe "%PRJFILE%" /useenv
|
||||
) else (
|
||||
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
|
||||
echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
|
||||
)
|
||||
|
||||
|
||||
|
@@ -1,18 +1,18 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
@@ -1,18 +1,18 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
@@ -1,18 +1,18 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
@@ -1,18 +1,18 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
@@ -1,33 +1,33 @@
|
||||
@ECHO OFF
|
||||
|
||||
call "%~dp0..\..\..\ros\env.bat"
|
||||
|
||||
IF NOT DEFINED CASROOT GOTO ERR_CASROOT
|
||||
|
||||
IF NOT EXIST "%CASROOT%\win32\vc8\bin\TKernel.dll" GOTO ERR_CASCADE
|
||||
|
||||
SET CASLIBS=%CASROOT%\win32\vc8\bin
|
||||
|
||||
SET ROOT=%CASROOT%\..
|
||||
|
||||
set RES_DIR=%~dp0res
|
||||
set BIN_DIR=%~dp0win32\vc8\bin
|
||||
|
||||
SET CSF_ResourcesDefaults=%RES_DIR%
|
||||
SET CSF_TuturialResourcesDefaults=%RES_DIR%
|
||||
|
||||
SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH%
|
||||
|
||||
GOTO END
|
||||
|
||||
:ERR_CASROOT
|
||||
ECHO Environment variable "CASROOT" has not been defined. Abort.
|
||||
pause
|
||||
exit /B
|
||||
|
||||
:ERR_CASCADE
|
||||
ECHO Environment variable "CASROOT" defined incorrectly. Abort.
|
||||
pause
|
||||
exit /B
|
||||
|
||||
:END
|
||||
@ECHO OFF
|
||||
|
||||
call "%~dp0..\..\..\ros\env.bat"
|
||||
|
||||
IF NOT DEFINED CASROOT GOTO ERR_CASROOT
|
||||
|
||||
IF NOT EXIST "%CASROOT%\win32\vc8\bin\TKernel.dll" GOTO ERR_CASCADE
|
||||
|
||||
SET CASLIBS=%CASROOT%\win32\vc8\bin
|
||||
|
||||
SET ROOT=%CASROOT%\..
|
||||
|
||||
set RES_DIR=%~dp0res
|
||||
set BIN_DIR=%~dp0win32\vc8\bin
|
||||
|
||||
SET CSF_ResourcesDefaults=%RES_DIR%
|
||||
SET CSF_TuturialResourcesDefaults=%RES_DIR%
|
||||
|
||||
SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH%
|
||||
|
||||
GOTO END
|
||||
|
||||
:ERR_CASROOT
|
||||
ECHO Environment variable "CASROOT" has not been defined. Abort.
|
||||
pause
|
||||
exit /B
|
||||
|
||||
:ERR_CASCADE
|
||||
ECHO Environment variable "CASROOT" defined incorrectly. Abort.
|
||||
pause
|
||||
exit /B
|
||||
|
||||
:END
|
||||
|
@@ -1,19 +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
|
||||
|
||||
GOTO END
|
||||
:ERR_QTDIR
|
||||
ECHO Environment variable "QTDIR" has not been defined. Abort.
|
||||
|
||||
:END
|
||||
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
|
||||
|
||||
GOTO END
|
||||
:ERR_QTDIR
|
||||
ECHO Environment variable "QTDIR" has not been defined. Abort.
|
||||
|
||||
:END
|
||||
|
Reference in New Issue
Block a user