-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathOCCT.pri
59 lines (52 loc) · 1.89 KB
/
OCCT.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
INCLUDEPATH += $$_PRO_FILE_PWD_/occt/inc $$_PRO_FILE_PWD_/3rdparty/include
DEPENDPATH += $$_PRO_FILE_PWD_/occt/inc $$_PRO_FILE_PWD_/3rdparty/include
DEFINES += OCC_CONVERT_SIGNALS
CONFIG(debug,debug|release) {
DEFINES += DEB
}
occt_lib_subpath = libs/armeabi-v7a
occt_lib_path = $$_PRO_FILE_PWD_/occt/$$occt_lib_subpath
3rdparty_lib_path = $$_PRO_FILE_PWD_/3rdparty/$$occt_lib_subpath
android {
QMAKE_CFLAGS += -fexceptions -Wno-ignored-qualifiers
QMAKE_CXXFLAGS += -fexceptions -Wno-ignored-qualifiers
LIBS += -L$$occt_lib_path -lEGL
}
win32 {
QMAKE_CXXFLAGS_WARN_ON += -W4
INCLUDEPATH += $$(CSF_OCCTIncludePath)
LIBS += -L$(CSF_OCCTLibPath);$(CSF_PRODLibPath)
LIBS += -lopengl32
}
LIBS += -lTKernel \
-lTKMath \
-lTKG2d \
-lTKG3d \
-lTKGeomBase \
-lTKBRep \
-lTKGeomAlgo \
-lTKTopAlgo \
-lTKShHealing \
-lTKService \
-lTKMesh \
-lTKHLR \
-lTKV3d \
-lTKOpenGles
# IMPORTANT. load libraries in a proper order
ANDROID_EXTRA_LIBS = $$3rdparty_lib_path/libfreeimage.so \
$$3rdparty_lib_path/libfreetype.so \
$$occt_lib_path/libTKernel.so \
$$occt_lib_path/libTKMath.so \
$$occt_lib_path/libTKG2d.so \
$$occt_lib_path/libTKG3d.so \
$$occt_lib_path/libTKGeomBase.so \
$$occt_lib_path/libTKBRep.so \
$$occt_lib_path/libTKGeomAlgo.so \
$$occt_lib_path/libTKTopAlgo.so \
$$occt_lib_path/libTKShHealing.so \
$$occt_lib_path/libTKService.so \
$$occt_lib_path/libTKMesh.so \
$$occt_lib_path/libTKHLR.so \
$$occt_lib_path/libTKV3d.so \
$$occt_lib_path/libTKOpenGles.so