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

    r341 r342  
    2525    ../../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
    2626
    27 HEADERS += \
     27install_dev_files:unix {
     28    target.path = /usr/lib/smssender/gateways
     29    INSTALLS += target
     30}
     31
     32HEADERS = \
    2833    business/account.h \
    2934    business/account_tasks.h \
     
    3843    persistence/accountstoragehelper.h \
    3944    persistence/deepthought/deepthoughtstorage.h
    40 SOURCES += \
     45
     46SOURCES = \
    4147    business/account.cpp \
    4248    business/account_costs.cpp \
     
    5763    persistence/accountstoragehelper.cpp \
    5864    persistence/deepthought/deepthoughtstorage.cpp
    59 RESOURCES += \
     65
     66RESOURCES = \
    6067    lib/schoolnet.qrc
     68
     69install_dev_files:unix {
     70    headers.path = /usr/include/smssender/gateways/Schoolnet
     71    headers.files = $$HEADERS
     72    INSTALLS += headers
     73}
Note: See TracChangeset for help on using the changeset viewer.