source: SMSSender/common/gui/common-gui.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: 1.1 KB
Line 
1include(../../smssender.pri)
2
3TEMPLATE = lib
4CONFIG += \
5    thread \
6    exceptions \
7    rtti
8QT = \
9    core \
10    gui \
11    network \
12    sql
13
14DESTDIR = ../../
15TARGET = common-gui
16QMAKE_CLEAN += $$DESTDIR/lib$$TARGET*
17
18DEFINES += COMMON_GUI_LIBRARY
19
20LIBS += \
21    -Wl,-whole-archive \
22    -L../ -lcommon-base$$LIB_SUFFIX \
23    -Wl,-no-whole-archive \
24\
25    -lcryptopp
26
27# Needed so that this target gets rebuilt if they change,
28PRE_TARGETDEPS += \
29    ../libcommon-base$${LIB_SUFFIX}.$$EXT_STATICLIB
30
31unix {
32    target.path = /usr/lib/smssender
33    INSTALLS += target
34}
35
36HEADERS = \
37    business/icontactimporter.h \
38    business/igateway.h \
39    business/iintegration.h \
40    global.h \
41    persistence/encryptedstoragehelper.h \
42    persistence/imainstorage.h \
43    ui/iaccountsettingswidget.h \
44    ui/iclosepreventabledialog.h \
45    ui/isendingdialog.h
46
47SOURCES = \
48    ui/iclosepreventabledialog.cpp \
49    ui/isendingdialog.cpp
50
51RESOURCES = \
52    lib/common-gui.qrc
53
54install_dev_files:unix {
55    headers.path = /usr/include/smssender/common/gui
56    headers.files = $$HEADERS
57    INSTALLS += headers
58}
Note: See TracBrowser for help on using the repository browser.