-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDistTable.pro
More file actions
66 lines (46 loc) · 1.36 KB
/
Copy pathDistTable.pro
File metadata and controls
66 lines (46 loc) · 1.36 KB
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
#-------------------------------------------------
#
# Project created by QtCreator 2015-03-25T18:17:16
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = DistTable
TEMPLATE = app
QMAKE_CXXFLAGS += -std=gnu++11
macx:QMAKE_CXXFLAGS += -stdlib=libc++
macx:QMAKE_LFLAGS += -stdlib=libc++
SOURCES += main.cpp\
window.cpp \
spreadmanager.cpp \
notificationmanager.cpp \
canvas.cpp
HEADERS += window.h \
spreadmanager.h \
singleton.h \
notificationmanager.h \
canvas.h \
line.h
FORMS += window.ui
INCLUDEPATH += $$PWD/lib/
INCLUDEPATH += $$PWD/include/
DEPENDPATH += $$PWD/lib/
PRE_TARGETDEPS += $$PWD/lib/libspread.a
PRE_TARGETDEPS += $$PWD/lib/libtspread-core.a
PRE_TARGETDEPS += $$PWD/lib/libspread-core.a
LIBS += -L$$PWD/lib/ -lspread
LIBS += -L$$PWD/lib/ -ltspread-core
LIBS += -L$$PWD/lib/ -lspread-core
_QJSON_PATH = /usr/local/Cellar/qjson/0.8.1
INCLUDEPATH += "$${_QJSON_PATH}/include/"
LIBS += -L$${_QJSON_PATH}/lib
OTHER_FILES += \
$$PWD/spread_daemon/spread \
$$PWD/spread_daemon/spread.conf
# copy spread daemon and config file
copydata.commands = $(COPY_DIR) $$PWD/spread_daemon $$OUT_PWD/spread
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
QT += network