Changeset 342:bdf193a5051e in SMSSender for common/gui/common-gui.pro


Ignore:
Timestamp:
Mar 26, 2014 4:07:03 PM (6 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • 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:
1 edited

Legend:

Unmodified
Added
Removed
  • common/gui/common-gui.pro

    r341 r342  
    2929    ../libcommon-base$${LIB_SUFFIX}.$$EXT_STATICLIB
    3030
    31 HEADERS += \
     31unix {
     32    target.path = /usr/lib/smssender
     33    INSTALLS += target
     34}
     35
     36HEADERS = \
    3237    business/icontactimporter.h \
    3338    business/igateway.h \
     
    4045    ui/isendingdialog.h
    4146
    42 SOURCES += \
     47SOURCES = \
    4348    ui/iclosepreventabledialog.cpp \
    4449    ui/isendingdialog.cpp
     
    4651RESOURCES = \
    4752    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 TracChangeset for help on using the changeset viewer.