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

    r341 r342  
    2424    ../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
    2525
    26 unix {
    27     # headers
    28     headers.path = /usr/include/smssender
    29     headers.files = $$HEADERS \
    30         frontend-common.inc
     26install_dev_files:unix {
     27    target.path = /usr/lib/smssender
     28    INSTALLS += target
    3129}
    3230
    33 HEADERS += \
     31HEADERS = \
    3432    business/accountinitmanager.h \
    3533    business/accountintegrationhelper.h \
     
    6361    persistence/restrictedmainstorage.h \
    6462
    65 SOURCES += \
     63SOURCES = \
    6664    business/accountinitmanager.cpp \
    6765    business/accountintegrationhelper.cpp \
     
    9391    persistence/restrictedmainstorage.cpp \
    9492
    95 RESOURCES += \
     93RESOURCES = \
    9694    lib/frontend.qrc
     95
     96install_dev_files:unix {
     97    headers.path = /usr/include/smssender/frontend
     98    headers.files = $$HEADERS
     99    INSTALLS += headers
     100}
Note: See TracChangeset for help on using the changeset viewer.