Changeset 342:bdf193a5051e in SMSSender for gateways/Sunrise/sunrise-base.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
  • gateways/Sunrise/sunrise-base.pro

    r341 r342  
    2828    ../../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
    2929
    30 HEADERS += \
     30install_dev_files:unix {
     31    target.path = /usr/lib/smssender/gateways
     32    INSTALLS += target
     33}
     34
     35HEADERS = \
    3136    business/contactimporter/contactimporter.h \
    3237    business/gateway.h \
     
    3742    business/account.h \
    3843
    39 SOURCES += \
     44SOURCES = \
    4045    business/account.cpp \
    4146    business/account_costs.cpp \
     
    4752    persistence/accountstoragehelper.cpp
    4853
    49 RESOURCES += \
     54RESOURCES = \
    5055    lib/sunrise.qrc
     56
     57install_dev_files:unix {
     58    headers.path = /usr/include/smssender/gateways/Sunrise
     59    headers.files = $$HEADERS
     60    INSTALLS += headers
     61}
Note: See TracChangeset for help on using the changeset viewer.