Removing useless file
[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
8e2c97ce 9INCLUDEPATH = $(CASROOT) $(CASROOT)/inc $(QTDIR)/include/QtCore \
7fd59977 10 $(QTDIR)/include/QtGui $(QTDIR)/include
11
12TRANSLATIONS += ./src/Common-icon.ts \
13 ./src/Common-string.ts \
14 ./src/Interface-string.ts
15
7fd59977 16DEFINES = CSFDB
17
18unix {
19 CONFIG(debug, debug|release) {
20 DESTDIR = ./Linux/bind
21 OBJECTS_DIR = ./Linux/objd
22 MOC_DIR = ./Linux/srcd
23 } else {
24 DESTDIR = ./Linux/bin
25 OBJECTS_DIR = ./Linux/obj
26 MOC_DIR = ./Linux/src
27 }
28 INCLUDEPATH += $$QMAKE_INCDIR_X11 $$QMAKE_INCDIR_OPENGL $$QMAKE_INCDIR_THREAD
29 DEFINES += LIN LININTEL OCC_CONVERT_SIGNALS HAVE_CONFIG_H HAVE_WOK_CONFIG_H QT_NO_STL
30 LIBS = -L$(CASROOT)/Linux/lib -L$$QMAKE_LIBDIR_X11 $$QMAKE_LIBS_X11 -L$$QMAKE_LIBDIR_OPENGL $$QMAKE_LIBS_OPENGL $$QMAKE_LIBS_THREAD
40b57160 31 FREEIMAGE_DIR = $$(FREEIMAGEDIR)
32 exists($$FREEIMAGE_DIR) {
33 LIBS += -L$(FREEIMAGEDIR)/lib -lfreeimageplus
34 }
8e2c97ce 35 TBB_LIB = $$(TBBLIB)
36 exists($$TBB_LIB) {
37 LIBS += -L$(TBBLIB) -ltbb -ltbbmalloc
38 }
7fd59977 39}
40
41win32 {
42 CONFIG(debug, debug|release) {
43 DEFINES += _DEBUG
8e2c97ce 44 !contains(QMAKE_HOST.arch, x86_64) {
45 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) {
46 DESTDIR = ./win32/vc7/bind
47 OBJECTS_DIR = ./win32/vc7/objd
48 MOC_DIR = ./win32/vc7/srcd
49 LIBS = -L$(CASROOT)/win32/vc7/libd
50 }
51 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
52 DESTDIR = ./win32/vc8/bind
53 OBJECTS_DIR = ./win32/vc8/objd
54 MOC_DIR = ./win32/vc8/srcd
55 LIBS = -L$(CASROOT)/win32/vc8/libd
56 }
57 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
58 DESTDIR = ./win32/vc9/bind
59 OBJECTS_DIR = ./win32/vc9/objd
60 MOC_DIR = ./win32/vc9/srcd
61 LIBS = -L$(CASROOT)/win32/vc9/libd
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
67 LIBS = -L$(CASROOT)/win32/vc10/libd
68 }
69 } else {
70 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
71 DESTDIR = ./win64/vc8/bind
72 OBJECTS_DIR = ./win64/vc8/objd
73 MOC_DIR = ./win64/vc8/srcd
74 LIBS = -L$(CASROOT)/win64/vc8/libd
75 }
76 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
77 DESTDIR = ./win64/vc9/bind
78 OBJECTS_DIR = ./win64/vc9/objd
79 MOC_DIR = ./win64/vc9/srcd
80 LIBS = -L$(CASROOT)/win64/vc9/libd
81 }
82 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) {
83 DESTDIR = ./win64/vc10/bind
84 OBJECTS_DIR = ./win64/vc10/objd
85 MOC_DIR = ./win64/vc10/srcd
86 LIBS = -L$(CASROOT)/win64/vc10/libd
87 }
88 }
7fd59977 89 } else {
90 DEFINES += NDEBUG
8e2c97ce 91 !contains(QMAKE_HOST.arch, x86_64) {
92 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) {
93 DESTDIR = ./win32/vc7/bin
94 OBJECTS_DIR = ./win32/vc7/obj
95 MOC_DIR = ./win32/vc7/src
96 LIBS = -L$(CASROOT)/win32/vc7/lib
97 }
98 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
99 DESTDIR = ./win32/vc8/bin
100 OBJECTS_DIR = ./win32/vc8/obj
101 MOC_DIR = ./win32/vc8/src
102 LIBS = -L$(CASROOT)/win32/vc8/lib
103 }
104 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
105 DESTDIR = ./win32/vc9/bin
106 OBJECTS_DIR = ./win32/vc9/obj
107 MOC_DIR = ./win32/vc9/src
108 LIBS = -L$(CASROOT)/win32/vc9/lib
109 }
110 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) {
111 DESTDIR = ./win32/vc10/bin
112 OBJECTS_DIR = ./win32/vc10/obj
113 MOC_DIR = ./win32/vc10/src
114 LIBS = -L$(CASROOT)/win32/vc10/lib
115 }
116 } else {
117 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) {
118 DESTDIR = ./win64/vc8/bin
119 OBJECTS_DIR = ./win64/vc8/obj
120 MOC_DIR = ./win64/vc8/src
121 LIBS = -L$(CASROOT)/win64/vc8/lib
122 }
123 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) {
124 DESTDIR = ./win64/vc9/bin
125 OBJECTS_DIR = ./win64/vc9/obj
126 MOC_DIR = ./win64/vc9/src
127 LIBS = -L$(CASROOT)/win64/vc9/lib
128 }
129 contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) {
130 DESTDIR = ./win64/vc10/bin
131 OBJECTS_DIR = ./win64/vc10/obj
132 MOC_DIR = ./win64/vc10/src
133 LIBS = -L$(CASROOT)/win64/vc10/lib
134 }
135 }
7fd59977 136 }
137 DEFINES +=WNT WIN32 NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS
138}
139
140LIBS += -lTKernel -lPTKernel -lTKMath -lTKService -lTKV3d -lTKV2d \
141 -lTKBRep -lTKIGES -lTKSTL -lTKVRML -lTKSTEP -lTKSTEPAttr -lTKSTEP209 \
142 -lTKSTEPBase -lTKShapeSchema -lTKGeomBase -lTKGeomAlgo -lTKG3d -lTKG2d \
143 -lTKXSBase -lTKPShape -lTKShHealing -lTKHLR -lTKTopAlgo -lTKMesh -lTKPrim \
144 -lTKCDF -lTKBool -lTKBO -lTKFillet -lTKOffset \
145 -L$(QTDIR)/lib -lQtCore -lQtGui
146
147lrelease.name = LRELASE ${QMAKE_FILE_IN}
148lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_IN} -qm ./res/${QMAKE_FILE_BASE}.qm
149lrelease.output = ./res/${QMAKE_FILE_BASE}.qm
150lrelease.input = TRANSLATIONS
151lrelease.clean = ./res/${QMAKE_FILE_BASE}.qm
152lrelease.CONFIG += no_link target_predeps
153QMAKE_EXTRA_COMPILERS += lrelease