source: SMSSender/frontend/frontend-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: 3.0 KB
Line 
1include(../smssender.pri)
2
3TEMPLATE = lib
4CONFIG += \
5    exceptions \
6    qt \
7    rtti \
8    staticlib \
9    thread
10QT = \
11    core \
12    network \
13    sql \
14    xml
15
16TARGET = frontend-base
17
18LIBS += \
19    -L../ -l$$COMMON$$LIB_SUFFIX \
20    -lcryptopp
21
22# Needed so that this target gets rebuilt if they change,
23PRE_TARGETDEPS += \
24    ../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
25
26install_dev_files:unix {
27    target.path = /usr/lib/smssender
28    INSTALLS += target
29}
30
31HEADERS = \
32    business/accountinitmanager.h \
33    business/accountintegrationhelper.h \
34    business/accountmanager.h \
35    business/contactimporter/contactfilelist.h \
36    business/contactimporter/contactfilesimporter.h \
37    business/contactimporter/contactfilesimporter_base.h \
38    business/contactimporter/contactfilesimporter_p.h \
39    business/contactimporter/contactimporter.h \
40    business/contactimporter/contactimporter_p.h \
41    business/contactimporter/googlecontactimporter.h \
42    business/contactimporter/googlecontactimporter_base.h \
43    business/contactimportermanager.h \
44    business/contactmanager.h \
45    business/erroraccount.h \
46    business/gatewaymanager.h \
47    business/groupmanager.h \
48    business/libraryloader_base.h \
49    business/settings.h \
50    business/settings_base.h \
51    business/suffixmanager.h \
52    business/updatemanager.h \
53    business/updatemanager_p.h \
54    persistence/accountmanager.h \
55    persistence/contactmanager.h \
56    persistence/database.h \
57    persistence/gatewaymanager.h \
58    persistence/groupmanager.h \
59    persistence/mainstorage_base.h \
60    persistence/persistenceintegrationhelper.h \
61    persistence/restrictedmainstorage.h \
62
63SOURCES = \
64    business/accountinitmanager.cpp \
65    business/accountintegrationhelper.cpp \
66    business/accountmanager.cpp \
67    business/contactimporter/contactfilelist.cpp \
68    business/contactimporter/contactfilesimporter.cpp \
69    business/contactimporter/contactimporter.cpp \
70    business/contactimporter/googlecontactimporter.cpp \
71    business/contactimportermanager.cpp \
72    business/contactmanager.cpp \
73    business/erroraccount.cpp \
74    business/gatewaymanager.cpp \
75    business/groupmanager.cpp \
76    business/libraryloader_base.cpp \
77    business/settings_base.cpp \
78    business/suffixmanager.cpp \
79    business/updatemanager.cpp \
80    persistence/mainstorage_base.cpp \
81    persistence/mainstorage_base_storage.cpp \
82    persistence/pers_accountmanager.cpp \
83    persistence/pers_accountmanager_storage.cpp \
84    persistence/pers_contactmanager.cpp \
85    persistence/pers_contactmanager_storage.cpp \
86    persistence/pers_database.cpp \
87    persistence/pers_gatewaymanager.cpp \
88    persistence/pers_groupmanager.cpp \
89    persistence/pers_groupmanager_storage.cpp \
90    persistence/persistenceintegrationhelper.cpp \
91    persistence/restrictedmainstorage.cpp \
92
93RESOURCES = \
94    lib/frontend.qrc
95
96install_dev_files:unix {
97    headers.path = /usr/include/smssender/frontend
98    headers.files = $$HEADERS
99    INSTALLS += headers
100}
Note: See TracBrowser for help on using the repository browser.