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

    r341 r342  
    2424    ../../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
    2525
    26 HEADERS += \
     26install_dev_files:unix {
     27    target.path = /usr/lib/smssender/gateways
     28    INSTALLS += target
     29}
     30
     31HEADERS = \
    2732    business/account.h \
    2833    business/account_tasks.h \
     
    4651    persistence/gatewaystoragehelper.h \
    4752
    48 SOURCES += \
     53SOURCES = \
    4954    business/account.cpp \
    5055    business/account_costs.cpp \
     
    6772    persistence/gatewaystoragehelper.cpp \
    6873
    69 RESOURCES +=\
     74RESOURCES =\
    7075    lib/smartphone.qrc
     76
     77install_dev_files:unix {
     78    headers.path = /usr/include/smssender/gateways/Smartphone
     79    headers.files = $$HEADERS
     80    INSTALLS += headers
     81}
Note: See TracChangeset for help on using the changeset viewer.