mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0026942: Training material are not built on OCCT installed after building by cmake procedure
Environment variable QT_DIR was renamed to QTDIR.
This commit is contained in:
parent
8c31bd38a1
commit
e085d8a60e
@ -61,13 +61,13 @@ win32 {
|
|||||||
DESTDIR = ./win$(ARCH)/$(VCVER)/bind
|
DESTDIR = ./win$(ARCH)/$(VCVER)/bind
|
||||||
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/objd
|
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/objd
|
||||||
MOC_DIR = ./win$(ARCH)/$(VCVER)/mocd
|
MOC_DIR = ./win$(ARCH)/$(VCVER)/mocd
|
||||||
LIBS = -L$$(QT_DIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/libd
|
LIBS = -L$$(QTDIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/libd
|
||||||
} else {
|
} else {
|
||||||
DEFINES += NDEBUG
|
DEFINES += NDEBUG
|
||||||
DESTDIR = ./win$(ARCH)/$(VCVER)/bin
|
DESTDIR = ./win$(ARCH)/$(VCVER)/bin
|
||||||
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/obj
|
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/obj
|
||||||
MOC_DIR = ./win$(ARCH)/$(VCVER)/moc
|
MOC_DIR = ./win$(ARCH)/$(VCVER)/moc
|
||||||
LIBS = -L$$(QT_DIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/lib
|
LIBS = -L$$(QTDIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/lib
|
||||||
}
|
}
|
||||||
DEFINES += NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS
|
DEFINES += NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@echo off
|
@echo off
|
||||||
rem Define QT_DIR variables in order to load OCCT environment
|
rem Define QTDIR variable
|
||||||
|
|
||||||
set "QT_DIR="
|
set "QTDIR="
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Define QT_DIR variables in order to generate Makefile files by qmake
|
#Define QTDIR variable
|
||||||
|
|
||||||
export QT_DIR=""
|
export QTDIR=""
|
||||||
|
@ -8,5 +8,5 @@ set "RES_DIR=%~dp0win%ARCH%\%VCVER%\res"
|
|||||||
set "CSF_ResourcesDefaults=%RES_DIR%"
|
set "CSF_ResourcesDefaults=%RES_DIR%"
|
||||||
set "CSF_IEResourcesDefaults=%RES_DIR%"
|
set "CSF_IEResourcesDefaults=%RES_DIR%"
|
||||||
|
|
||||||
set "PATH=%QT_DIR%/bin;%PATH%"
|
set "PATH=%QTDIR%/bin;%PATH%"
|
||||||
set "QT_QPA_PLATFORM_PLUGIN_PATH=%QT_DIR%\plugins\platforms"
|
set "QT_QPA_PLATFORM_PLUGIN_PATH=%QTDIR%\plugins\platforms"
|
@ -10,8 +10,8 @@ if [ -e "${aSamplePath}/../../../env.sh" ]; then
|
|||||||
source "${aSamplePath}/../../../env.sh";
|
source "${aSamplePath}/../../../env.sh";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${QT_DIR}" == ""; then
|
if test "${QTDIR}" == ""; then
|
||||||
echo "Environment variable \"QT_DIR\" not defined. Define it in \"custom.sh\" script."
|
echo "Environment variable \"QTDIR\" not defined. Define it in \"custom.sh\" script."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -19,4 +19,4 @@ host=`uname -s`
|
|||||||
export STATION=$host
|
export STATION=$host
|
||||||
export RES_DIR=${aSamplePath}/${STATION}/res
|
export RES_DIR=${aSamplePath}/${STATION}/res
|
||||||
|
|
||||||
export PATH=${QT_DIR}/bin:${PATH}
|
export PATH=${QTDIR}/bin:${PATH}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
REM Generation of vcproj files with qmake utilite
|
REM Generation of vcproj files with qmake utilite
|
||||||
REM Variable QT_DIR and PATH to qmake executable must be defined without fail
|
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 Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),
|
||||||
REM second argument specifies architecture) (win32 or win64)
|
REM second argument specifies architecture) (win32 or win64)
|
||||||
|
@ -64,13 +64,13 @@ win32 {
|
|||||||
DESTDIR = ./win$(ARCH)/$(VCVER)/bind
|
DESTDIR = ./win$(ARCH)/$(VCVER)/bind
|
||||||
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/objd
|
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/objd
|
||||||
MOC_DIR = ./win$(ARCH)/$(VCVER)/mocd
|
MOC_DIR = ./win$(ARCH)/$(VCVER)/mocd
|
||||||
LIBS = -L$$(QT_DIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/libd
|
LIBS = -L$$(QTDIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/libd
|
||||||
} else {
|
} else {
|
||||||
DEFINES += NDEBUG
|
DEFINES += NDEBUG
|
||||||
DESTDIR = ./win$(ARCH)/$(VCVER)/bin
|
DESTDIR = ./win$(ARCH)/$(VCVER)/bin
|
||||||
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/obj
|
OBJECTS_DIR = ./win$(ARCH)/$(VCVER)/obj
|
||||||
MOC_DIR = ./win$(ARCH)/$(VCVER)/moc
|
MOC_DIR = ./win$(ARCH)/$(VCVER)/moc
|
||||||
LIBS = -L$$(QT_DIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/lib
|
LIBS = -L$$(QTDIR)/lib;$$(CASROOT)/win$$(ARCH)/$$(VCVER)/lib
|
||||||
}
|
}
|
||||||
DEFINES += NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS
|
DEFINES += NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@echo off
|
@echo off
|
||||||
rem Define QT_DIR variables in order to load OCCT environment
|
rem Define QTDIR variable
|
||||||
|
|
||||||
set "QT_DIR="
|
set "QTDIR="
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Define QT_DIR variables in order to generate Makefile files by qmake
|
#Define QTDIR variable
|
||||||
|
|
||||||
export QT_DIR=""
|
export QTDIR=""
|
||||||
|
@ -8,5 +8,5 @@ set "RES_DIR=%~dp0win%ARCH%\%VCVER%\res"
|
|||||||
set "CSF_ResourcesDefaults=%RES_DIR%"
|
set "CSF_ResourcesDefaults=%RES_DIR%"
|
||||||
set "CSF_TutorialResourcesDefaults=%RES_DIR%"
|
set "CSF_TutorialResourcesDefaults=%RES_DIR%"
|
||||||
|
|
||||||
set "PATH=%QT_DIR%/bin;%PATH%"
|
set "PATH=%QTDIR%/bin;%PATH%"
|
||||||
set "QT_QPA_PLATFORM_PLUGIN_PATH=%QT_DIR%\plugins\platforms"
|
set "QT_QPA_PLATFORM_PLUGIN_PATH=%QTDIR%\plugins\platforms"
|
@ -10,8 +10,8 @@ if [ -e "${aSamplePath}/../../../env.sh" ]; then
|
|||||||
source "${aSamplePath}/../../../env.sh";
|
source "${aSamplePath}/../../../env.sh";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${QT_DIR}" == ""; then
|
if test "${QTDIR}" == ""; then
|
||||||
echo "Environment variable \"QT_DIR\" not defined. Define it in \"custom.sh\" script."
|
echo "Environment variable \"QTDIR\" not defined. Define it in \"custom.sh\" script."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -19,4 +19,4 @@ host=`uname -s`
|
|||||||
export STATION=$host
|
export STATION=$host
|
||||||
export RES_DIR=${aSamplePath}/${STATION}/res
|
export RES_DIR=${aSamplePath}/${STATION}/res
|
||||||
|
|
||||||
export PATH=${QT_DIR}/bin:${PATH}
|
export PATH=${QTDIR}/bin:${PATH}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
REM Generation of vcproj files with qmake utilite
|
REM Generation of vcproj files with qmake utilite
|
||||||
REM Variable QT_DIR and PATH to qmake executable must be defined without fail
|
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 Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),
|
||||||
REM second argument specifies architecture) (win32 or win64)
|
REM second argument specifies architecture) (win32 or win64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user