mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023124: Porting products samples on OCCT 6.5.3
Removed redundant scripts from samples/qt/Common and samples/qt/Interface folders Fixed Linux scripts for Tutorial and ImportExport samples
This commit is contained in:
parent
eb7e2b6782
commit
9220e7851a
@ -1,19 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
|
|
||||||
call env.bat
|
|
||||||
|
|
||||||
IF NOT DEFINED QTDIR GOTO ERR_QTDIR
|
|
||||||
|
|
||||||
REM *** To start build on MSVC6 ***
|
|
||||||
REM msdev.exe Common.dsw
|
|
||||||
|
|
||||||
REM *** To start build on MSVC7 ***
|
|
||||||
start "%VS71COMNTOOLS%\..\IDE\devenv.exe" Common.sln
|
|
||||||
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:ERR_QTDIR
|
|
||||||
ECHO Environment variable "QTDIR" has not been defined. Abort.
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:END
|
|
@ -1,28 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
|
|
||||||
IF NOT DEFINED CASROOT GOTO ERR_CASROOT
|
|
||||||
|
|
||||||
IF NOT EXIST "%CASROOT%\win32\bin\TKernel.dll" GOTO ERR_CASCADE
|
|
||||||
|
|
||||||
SET CASLIBS=%CASROOT%\win32\bin
|
|
||||||
|
|
||||||
SET ROOT=%CASROOT%\..
|
|
||||||
|
|
||||||
SET RES_DIR=res
|
|
||||||
SET BIN_DIR=win32\bin
|
|
||||||
|
|
||||||
SET CSF_ResourcesDefaults=%RES_DIR%
|
|
||||||
|
|
||||||
SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH%
|
|
||||||
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:ERR_CASROOT
|
|
||||||
ECHO Environment variable "CASROOT" has not been defined. Abort.
|
|
||||||
EXIT
|
|
||||||
|
|
||||||
:ERR_CASCADE
|
|
||||||
ECHO Environment variable "CASROOT" defined incorrectly. Abort.
|
|
||||||
EXIT
|
|
||||||
|
|
||||||
:END
|
|
@ -1,21 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
|
|
||||||
call env.bat
|
|
||||||
|
|
||||||
IF NOT DEFINED QTDIR GOTO ERR_QTDIR
|
|
||||||
|
|
||||||
SET PATH=%QTDIR%\bin;%PATH%
|
|
||||||
|
|
||||||
SET TMP_CASROOT=%CASROOT%
|
|
||||||
SET CASROOT=
|
|
||||||
|
|
||||||
qmake -tp vc -r IESample.pro
|
|
||||||
|
|
||||||
SET CASROOT=%TMP_CASROOT%
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:ERR_QTDIR
|
|
||||||
ECHO Environment variable "QTDIR" has not been defined. Abort.
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:END
|
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
if [ -e "${aSamplePath}/custom.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
||||||
cd $aSamplePath
|
cd $aSamplePath
|
||||||
qmake IESample.pro
|
qmake IESample.pro
|
||||||
make
|
make
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
if [ -e "${aSamplePath}/custom.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
||||||
cd $aSamplePath
|
cd $aSamplePath
|
||||||
|
|
||||||
host=`uname -s`
|
host=`uname -s`
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
|
|
||||||
call env.bat
|
|
||||||
|
|
||||||
IF NOT DEFINED QTDIR GOTO ERR_QTDIR
|
|
||||||
|
|
||||||
REM *** To start build on MSVC6 ***
|
|
||||||
REM msdev.exe Interface.dsw
|
|
||||||
|
|
||||||
REM *** To start build on MSVC7 ***
|
|
||||||
start "%VS71COMNTOOLS%\..\IDE\devenv.exe" Interface.sln
|
|
||||||
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:ERR_QTDIR
|
|
||||||
ECHO Environment variable "QTDIR" not defined. Abort.
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:END
|
|
@ -1,31 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
|
|
||||||
IF NOT DEFINED CASROOT GOTO ERR_CASROOT
|
|
||||||
|
|
||||||
IF NOT EXIST "%CASROOT%\win32\bin\TKernel.dll" GOTO ERR_CASCADE
|
|
||||||
|
|
||||||
SET CASLIBS=%CASROOT%\win32\bin
|
|
||||||
|
|
||||||
SET ROOT=%CASROOT%\..
|
|
||||||
|
|
||||||
SET RES_DIR=res
|
|
||||||
SET BIN_DIR=win32\bin
|
|
||||||
|
|
||||||
SET CSF_ResourcesDefaults=..\Common\res
|
|
||||||
SET CSF_IEResourcesDefaults=%RES_DIR%
|
|
||||||
|
|
||||||
SET COMMONROOT=..\Common
|
|
||||||
|
|
||||||
SET PATH=%COMMONROOT%\win32\bin;%CASLIBS%;%QTDIR%\bin;%PATH%
|
|
||||||
|
|
||||||
GOTO END
|
|
||||||
|
|
||||||
:ERR_CASROOT
|
|
||||||
ECHO Environment variable "CASROOT" has not been defined. Abort.
|
|
||||||
EXIT
|
|
||||||
|
|
||||||
:ERR_CASCADE
|
|
||||||
ECHO Environment variable "CASROOT" defined incorrectly. Abort.
|
|
||||||
EXIT
|
|
||||||
|
|
||||||
:END
|
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
if [ -e "${aSamplePath}/custom.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
||||||
cd $aSamplePath
|
cd $aSamplePath
|
||||||
qmake Tutorial.pro
|
qmake Tutorial.pro
|
||||||
make
|
make
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
if [ -e "${aSamplePath}/custom.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
||||||
cd $aSamplePath
|
cd $aSamplePath
|
||||||
|
|
||||||
host=`uname -s`
|
host=`uname -s`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user