source: SMSSender/gateways/Schoolnet/schoolnet-base.pro @ 342:bdf193a5051e

separation-frontend-backend
Last change on this file since 342:bdf193a5051e was 342:bdf193a5051e, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Adjusts what's being installed to where.
  • Adds config parameter install_dev_files; headers and static libraries are only installed if this variable is set.
File size: 2.0 KB
Line 
1include(../../smssender.pri)
2
3BASE_VERSION = 2.0
4
5TARGET = schoolnet-base
6
7TEMPLATE = lib
8CONFIG += \
9    staticlib
10
11QT = \
12    core \
13    network \
14    sql \
15    webkit \
16    xml
17
18LIBS += \
19    -L../../ -l$$COMMON$$LIB_SUFFIX \
20    -L../../ -lgateways-common$$LIB_SUFFIX
21
22# Needed so that this target gets rebuilt if they change,
23PRE_TARGETDEPS += \
24    ../../libgateways-common$${LIB_SUFFIX}.$$EXT_DYNAMICLIB \
25    ../../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
26
27install_dev_files:unix {
28    target.path = /usr/lib/smssender/gateways
29    INSTALLS += target
30}
31
32HEADERS = \
33    business/account.h \
34    business/account_tasks.h \
35    business/contactimporter/contactimporter.h \
36    business/deepthought/daemons.h \
37    business/deepthought/datatypes.h \
38    business/deepthought/deepthoughthelper.h \
39    business/deepthought/questionmanager.h \
40    business/deepthought/tasks.h \
41    business/gateway.h \
42    network/httphelper.h \
43    persistence/accountstoragehelper.h \
44    persistence/deepthought/deepthoughtstorage.h
45
46SOURCES = \
47    business/account.cpp \
48    business/account_costs.cpp \
49    business/account_task_login.cpp \
50    business/account_task_sendsms.cpp \
51    business/contactimporter/contactimporter.cpp \
52    business/deepthought/daemon_deepthought.cpp \
53    business/deepthought/daemon_schoolnet.cpp \
54    business/deepthought/datatypes.cpp \
55    business/deepthought/deepthoughthelper.cpp \
56    business/deepthought/questionmanager.cpp \
57    business/deepthought/task_answertodeepthougth.cpp \
58    business/deepthought/task_answertoschoolnet.cpp \
59    business/deepthought/task_check_questionstatus_at_schoolnet.cpp \
60    business/deepthought/task_fetchdatafromdeepthought.cpp \
61    business/gateway.cpp \
62    network/httphelper.cpp \
63    persistence/accountstoragehelper.cpp \
64    persistence/deepthought/deepthoughtstorage.cpp
65
66RESOURCES = \
67    lib/schoolnet.qrc
68
69install_dev_files:unix {
70    headers.path = /usr/include/smssender/gateways/Schoolnet
71    headers.files = $$HEADERS
72    INSTALLS += headers
73}
Note: See TracBrowser for help on using the repository browser.