-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpickAndPlaceMachine.pro
66 lines (53 loc) · 1.54 KB
/
pickAndPlaceMachine.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
# ---
# To build pickAndPlaceMachine you need to customize this file
#
# Windows:
# - Mingw: get the dependencies "vtk" and "gmp" and specify the correct paths
# TESTED: gcc-4.4.0 (from QtSDK)
# gmp-5.0.5
# Qt-4.8.1
#
# Linux:
# - gcc: vtk-5.8 should work out of the box; otherwise specify the correct include path
# TESTED: Ubuntu 12.04, Ubuntu 12.10
# ---
QT += core gui
TARGET = pickAndPlaceMachine
TEMPLATE = app
QMAKE_CXXFLAGS_DEBUG = "-ggdb -O0 -Wall -Wextra"
unix:VTK_INCLUDEPATH = /usr/include/vtk-5.8
win32:VTK_INCLUDEPATH = c:/dev/projects/openems-w32/vtk/include/vtk-5.10
win32:VTK_LIBS = -Lc:/dev/projects/openems-w32/vtk/bin
exists(custom.pri):include(custom.pri)
# vtk
INCLUDEPATH += $$VTK_INCLUDEPATH
LIBS += $$VTK_LIBS
LIBS += -lQVTK -lvtkGenericFiltering -lvtkRendering -lvtkGraphics -lvtkFiltering -lvtkIO -lvtkCommon -lvtksys
LIBS += -lvtktiff -lvtkjpeg -lvtkpng -lvtkzlib -lvtkexpat -lGL
# gmp
win32:INCLUDEPATH += c:/dev/projects/gmp-bin/include
win32:LIBS += -Lc:/dev/projects/gmp-bin/lib
LIBS += -lgmpxx -lgmp
SOURCES += main.cpp\
mainwindow.cpp \
gerberimporter.cpp \
csvimporter.cpp \
centroid.cpp \
centroiddialog.cpp \
graphicsview.cpp \
excellonimporter.cpp \
utils.cpp
HEADERS += mainwindow.h \
gerberimporter.h \
csvimporter.h \
centroid.h \
centroiddialog.h \
graphicsview.h \
excellonimporter.h \
utils.h
FORMS += mainwindow.ui \
centroiddialog.ui
RESOURCES += \
pickAndPlaceMachine.qrc
OTHER_FILES += \
custom.pri