0023170: Bug of creating a full sphere face
[occt.git] / samples / qt / IESample / IESample.pro
CommitLineData
7fd59977 1TEMPLATE = app
2CONFIG += debug_and_release qt
3
4TARGET = IESample
5
6HEADERS = src/*.h
7SOURCES = src/*.cxx
8
0fb875ed 9TS_FILES = ./src/Common-icon.ts \
10 ./src/Common-string.ts \
11 ./src/Interface-string.ts
7fd59977 12
7fd59977 13DEFINES = CSFDB
14
15unix {
7a53e886 16 INCLUDES = $$(CSF_OPT_INC)
17 PATHS = $$split(INCLUDES,":")
18 for(path, PATHS):INCLUDEPATH += $${path}
19 LIBLIST = $$(LD_LIBRARY_PATH)
20 LIBPATHS = $$split(LIBLIST,":")
21 for(lib, LIBPATHS):LIBS += -L$${lib}
22
7fd59977 23 CONFIG(debug, debug|release) {
24 DESTDIR = ./Linux/bind
25 OBJECTS_DIR = ./Linux/objd
26 MOC_DIR = ./Linux/srcd
27 } else {
28 DESTDIR = ./Linux/bin
29 OBJECTS_DIR = ./Linux/obj
30 MOC_DIR = ./Linux/src
31 }
32 INCLUDEPATH += $$QMAKE_INCDIR_X11 $$QMAKE_INCDIR_OPENGL $$QMAKE_INCDIR_THREAD
33 DEFINES += LIN LININTEL OCC_CONVERT_SIGNALS HAVE_CONFIG_H HAVE_WOK_CONFIG_H QT_NO_STL
7a53e886 34 LIBS += -L$$QMAKE_LIBDIR_X11 $$QMAKE_LIBS_X11 -L$$QMAKE_LIBDIR_OPENGL $$QMAKE_LIBS_OPENGL $$QMAKE_LIBS_THREAD
35 LIBS += -lfreeimageplus
36 LIBS += -ltbb -ltbbmalloc
7fd59977 37}
38
39win32 {
7a53e886 40 INCLUDES = $$(CSF_OPT_INC)
41 PATHS = $$split(INCLUDES,";")
42 for(path, PATHS):INCLUDEPATH += $${path}
43
7fd59977 44 CONFIG(debug, debug|release) {
45 DEFINES += _DEBUG
8e2c97ce 46 !contains(QMAKE_HOST.arch, x86_64) {
cc5ac00d 47 LIBS = -L$(CSF_OPT_LIB32D)
48 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) {
8e2c97ce 49 DESTDIR = ./win32/vc7/bind
50 OBJECTS_DIR = ./win32/vc7/objd
51 MOC_DIR = ./win32/vc7/srcd
8e2c97ce 52 }
53 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
54 DESTDIR = ./win32/vc8/bind
55 OBJECTS_DIR = ./win32/vc8/objd
56 MOC_DIR = ./win32/vc8/srcd
8e2c97ce 57 }
58 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
59 DESTDIR = ./win32/vc9/bind
60 OBJECTS_DIR = ./win32/vc9/objd
61 MOC_DIR = ./win32/vc9/srcd
8e2c97ce 62 }
63 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) {
64 DESTDIR = ./win32/vc10/bind
65 OBJECTS_DIR = ./win32/vc10/objd
66 MOC_DIR = ./win32/vc10/srcd
8e2c97ce 67 }
68 } else {
cc5ac00d 69 LIBS = -L$(CSF_OPT_LIB64D)
70 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
8e2c97ce 71 DESTDIR = ./win64/vc8/bind
72 OBJECTS_DIR = ./win64/vc8/objd
73 MOC_DIR = ./win64/vc8/srcd
8e2c97ce 74 }
75 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
76 DESTDIR = ./win64/vc9/bind
77 OBJECTS_DIR = ./win64/vc9/objd
78 MOC_DIR = ./win64/vc9/srcd
8e2c97ce 79 }
80 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) {
81 DESTDIR = ./win64/vc10/bind
82 OBJECTS_DIR = ./win64/vc10/objd
83 MOC_DIR = ./win64/vc10/srcd
8e2c97ce 84 }
85 }
7fd59977 86 } else {
87 DEFINES += NDEBUG
8e2c97ce 88 !contains(QMAKE_HOST.arch, x86_64) {
cc5ac00d 89 LIBS = -L$(CSF_OPT_LIB32)
90 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) {
8e2c97ce 91 DESTDIR = ./win32/vc7/bin
92 OBJECTS_DIR = ./win32/vc7/obj
93 MOC_DIR = ./win32/vc7/src
8e2c97ce 94 }
95 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
96 DESTDIR = ./win32/vc8/bin
97 OBJECTS_DIR = ./win32/vc8/obj
98 MOC_DIR = ./win32/vc8/src
8e2c97ce 99 }
100 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
101 DESTDIR = ./win32/vc9/bin
102 OBJECTS_DIR = ./win32/vc9/obj
103 MOC_DIR = ./win32/vc9/src
8e2c97ce 104 }
105 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) {
106 DESTDIR = ./win32/vc10/bin
107 OBJECTS_DIR = ./win32/vc10/obj
108 MOC_DIR = ./win32/vc10/src
8e2c97ce 109 }
110 } else {
cc5ac00d 111 LIBS = -L$(CSF_OPT_LIB64)
112 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
8e2c97ce 113 DESTDIR = ./win64/vc8/bin
114 OBJECTS_DIR = ./win64/vc8/obj
115 MOC_DIR = ./win64/vc8/src
8e2c97ce 116 }
117 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
118 DESTDIR = ./win64/vc9/bin
119 OBJECTS_DIR = ./win64/vc9/obj
120 MOC_DIR = ./win64/vc9/src
8e2c97ce 121 }
122 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) {
123 DESTDIR = ./win64/vc10/bin
124 OBJECTS_DIR = ./win64/vc10/obj
125 MOC_DIR = ./win64/vc10/src
8e2c97ce 126 }
127 }
7fd59977 128 }
129 DEFINES +=WNT WIN32 NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS
130}
131
7a53e886 132LIBS += -lTKernel -lPTKernel -lTKMath -lTKService -lTKV3d -lTKV2d \
133 -lTKBRep -lTKIGES -lTKSTL -lTKVRML -lTKSTEP -lTKSTEPAttr -lTKSTEP209 \
134 -lTKSTEPBase -lTKShapeSchema -lTKGeomBase -lTKGeomAlgo -lTKG3d -lTKG2d \
135 -lTKXSBase -lTKPShape -lTKShHealing -lTKHLR -lTKTopAlgo -lTKMesh -lTKPrim \
136 -lTKCDF -lTKBool -lTKBO -lTKFillet -lTKOffset \
7fd59977 137
138lrelease.name = LRELASE ${QMAKE_FILE_IN}
cc5ac00d 139lrelease.commands = lrelease ${QMAKE_FILE_IN} -qm ./res/${QMAKE_FILE_BASE}.qm
7fd59977 140lrelease.output = ./res/${QMAKE_FILE_BASE}.qm
0fb875ed 141lrelease.input = TS_FILES
7fd59977 142lrelease.clean = ./res/${QMAKE_FILE_BASE}.qm
143lrelease.CONFIG += no_link target_predeps
144QMAKE_EXTRA_COMPILERS += lrelease