mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023821: Improve qmake project files for Qt samples
Project file extension corrected for VS 2010/2012 solutions Sources and resource files from Common and Interface sub-foldrs added to qmake project files from their original location. RES_DIR environment variable redirected to the binary directory, all resource files copied there to keep the source tree intact. RES_DIR environment variable corrected under Linux/MacOS similalry to Windows. Makefile generation corrected under MacOS: - filenames used as the output for the extra compilers instead of the absolute paths. - mkdir and cp command options corrected
This commit is contained in:
@@ -4,11 +4,6 @@ export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh"; fi
|
||||
cd $aSamplePath
|
||||
|
||||
host=`uname -s`
|
||||
STATION=$host
|
||||
|
||||
RES_DIR="${aSamplePath}/res"
|
||||
|
||||
aSystem=`uname -s`
|
||||
if [ "$aSystem" == "Darwin" ] && [ "$MACOSX_USE_GLX" != "true" ]; then
|
||||
if [ "${CASDEB}" == "d" ]; then
|
||||
|
Reference in New Issue
Block a user