-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathqt-dxf.pro
151 lines (135 loc) · 4.21 KB
/
qt-dxf.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
QT += core gui opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++20
TARGET = cam
# This code depends on zenity.
# sudo apt-get install zenity
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
libcavalier/offsets.cpp \
libcontour/contours.cpp \
libdata/variable.cpp \
libdxfrw/drw_classes.cpp \
libdxfrw/drw_entities.cpp \
libdxfrw/drw_header.cpp \
libdxfrw/drw_objects.cpp \
libdxfrw/dx_iface.cpp \
libdxfrw/intern/drw_dbg.cpp \
libdxfrw/intern/drw_textcodec.cpp \
libdxfrw/intern/dwgbuffer.cpp \
libdxfrw/intern/dwgreader.cpp \
libdxfrw/intern/dwgreader15.cpp \
libdxfrw/intern/dwgreader18.cpp \
libdxfrw/intern/dwgreader21.cpp \
libdxfrw/intern/dwgreader24.cpp \
libdxfrw/intern/dwgreader27.cpp \
libdxfrw/intern/dwgutil.cpp \
libdxfrw/intern/dxfreader.cpp \
libdxfrw/intern/dxfwriter.cpp \
libdxfrw/intern/rscodec.cpp \
libdxfrw/libdwgr.cpp \
libdxfrw/libdxfrw.cpp \
libgcode/gcode.cpp \
libocc/draw_primitives.cpp \
libspline/bezier_spline.cpp \
libspline/cubic_spline.cpp \
libspline/spline.cpp \
main.cpp \
mainwindow.cpp \
libocc/opencascade.cpp
HEADERS += \
libcavalier/offsets.h \
libcontour/contours.h \
libdata/variable.h \
libdialog/portable-file-dialogs.h \
libdxfrw/drw_base.h \
libdxfrw/drw_classes.h \
libdxfrw/drw_entities.h \
libdxfrw/drw_header.h \
libdxfrw/drw_interface.h \
libdxfrw/drw_objects.h \
libdxfrw/dx_data.h \
libdxfrw/dx_iface.h \
libdxfrw/intern/drw_cptable932.h \
libdxfrw/intern/drw_cptable936.h \
libdxfrw/intern/drw_cptable949.h \
libdxfrw/intern/drw_cptable950.h \
libdxfrw/intern/drw_cptables.h \
libdxfrw/intern/drw_dbg.h \
libdxfrw/intern/drw_textcodec.h \
libdxfrw/intern/dwgbuffer.h \
libdxfrw/intern/dwgreader.h \
libdxfrw/intern/dwgreader15.h \
libdxfrw/intern/dwgreader18.h \
libdxfrw/intern/dwgreader21.h \
libdxfrw/intern/dwgreader24.h \
libdxfrw/intern/dwgreader27.h \
libdxfrw/intern/dwgutil.h \
libdxfrw/intern/dxfreader.h \
libdxfrw/intern/dxfwriter.h \
libdxfrw/intern/rscodec.h \
libdxfrw/libdwgr.h \
libdxfrw/libdxfrw.h \
libdxfrw/main_doc.h \
libgcode/gcode.h \
libocc/draw_primitives.h \
libspline/bezier_spline.h \
libspline/cubic_spline.h \
libspline/spline.h \
mainwindow.h \
libocc/opencascade.h
FORMS += \
mainwindow.ui
# Local include paths.
INCLUDEPATH+= libdxfrw/ \
libocc/ \
libspline/ \
libcavalier/ \
libcavalier/include/cavc/ \
libcontour/ \
libdata/ \
libgcode/ \
libdialog/ \
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
DISTFILES += \
# this copies the configuration files etc to the build direcory. So user has only to edit the source directory.
# copydata.commands = $(COPY_DIR) $$PWD/* $$OUT_PWD
# first.depends = $(first) copydata
# export(first.depends)
# export(copydata.commands)
# QMAKE_EXTRA_TARGETS += first copydata
# Opencascade
LIBS+= -L/usr/local/lib/ \
INCLUDEPATH += /usr/local/include/kdl/ \
/usr/local/include/opencascade/ \
/usr/include/eigen3/ \
/usr/include/ \
/usr/local/lib/ \
# compiled libs .so files:
# LIBS += -lorocos-kdl
# compiled libs .so files:
LIBS += -lTKPrim
LIBS += -lTKernel
LIBS += -lTKMath -lTKTopAlgo -lTKService
LIBS += -lTKG2d -lTKG3d -lTKV3d -lTKOpenGl
LIBS += -lTKBRep -lTKXSBase -lTKGeomBase
LIBS += -lTKMeshVS -lTKXSDRAW
LIBS += -lTKLCAF -lTKXCAF -lTKCAF
LIBS += -lTKCDF -lTKBin -lTKBinL -lTKBinXCAF -lTKXml -lTKXmlL -lTKXmlXCAF
# -- IGES support
LIBS += -lTKIGES
# -- STEP support
LIBS += -lTKSTEP -lTKXDESTEP -lTKXDEIGES
# -- STL support
LIBS += -lTKSTL
# -- OBJ/glTF support
LIBS += -lTKRWMesh
# -- VRML support
LIBS += -lTKVRML
RESOURCES += \
icons.qrc