forked from eryar/occQt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
occQt.pro
100 lines (82 loc) · 1.79 KB
/
occQt.pro
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#-------------------------------------------------
#
# Project created by QtCreator 2013-08-18T15:52:09
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = occQt
TEMPLATE = app
SOURCES += main.cpp \
occQt.cpp \
occView.cpp
CONFIG += c++11
HEADERS += \
occQt.h \
occView.h
FORMS += \
occQt.ui
RESOURCES += \
occqt.qrc
CASROOT = D:/OpenCASCADE7.4.0/opencascade-7.4.0
win32 {
DEFINES += \
WNT
INCLUDEPATH += \
$$(CASROOT)/inc
win32-msvc2010 {
compiler=vc10
}
win32-msvc2012 {
compiler=vc11
}
win32-msvc2013 {
compiler=vc12
}
win32-msvc2015 {
compiler=vc14
}
# Determine 32 / 64 bit and debug / release build
!contains(QMAKE_TARGET.arch, x86_64) {
CONFIG(debug, debug|release) {
message("Debug 32 build")
LIBS += -L$$(CASROOT)/win32/$$compiler/libd
}
else {
message("Release 32 build")
LIBS += -L$$(CASROOT)/win32/$$compiler/lib
}
}
else {
CONFIG(debug, debug|release) {
message("Debug 64 build")
LIBS += -L$$(CASROOT)/win64/$$compiler/libd
}
else {
message("Release 64 build")
LIBS += -L$$(CASROOT)/win64/$$compiler/lib
}
}
}
linux-g++ {
INCLUDEPATH += \
$$(CASROOT)/include/opencascade
LIBS += \
-L$$(CASROOT)/lib
}
LIBS += \
-lTKernel \
-lTKMath \
-lTKG3d \
-lTKBRep \
-lTKGeomBase\
-lTKGeomAlgo\
-lTKTopAlgo \
-lTKPrim \
-lTKBO \
-lTKBool \
-lTKOffset \
-lTKService \
-lTKV3d \
-lTKOpenGl \
-lTKFillet