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

    r341 r342  
    2323    ../../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
    2424
    25 HEADERS += \
     25unix {
     26    target.path = /usr/lib/smssender
     27    INSTALLS += target
     28}
     29
     30HEADERS = \
    2631    business/baseaccount.h \
    2732    business/baseaccount_tasks.h \
     
    3237    persistence/defaultaccountstoragehelper.h
    3338
    34 SOURCES += \
     39SOURCES = \
    3540    business/baseaccount.cpp \
    3641    business/baseaccount_tasks.cpp \
     
    3843    business/defaultlogininittask.cpp \
    3944    persistence/defaultaccountstoragehelper.cpp
     45
     46install_dev_files:unix {
     47    headers.path = /usr/include/smssender/gateways/common
     48    headers.files = $$HEADERS
     49
     50    pri.path = /usr/include/smssender/gateways
     51    pri.files = ../gateways.pri
     52
     53    INSTALLS += headers pri
     54}
Note: See TracChangeset for help on using the changeset viewer.