source: SMSSender/gateways/gateways.pri @ 419:0bafa60e1b64

Last change on this file since 419:0bafa60e1b64 was 419:0bafa60e1b64, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Fixes PRE_TARGETDEPS entries for windows.
  • Excapes '\' in project files on windows.
File size: 978 bytes
Line 
1# Only dynamic gateway libraries should include this file.
2# It is assumed, that they live in a directory [gateway]/[frontend-type]/
3
4TEMPLATE = lib
5
6# Set the version
7DEFINES += LIB_VERSION=\\\"$${VERSION}\\\"
8
9CONFIG += \
10    exceptions \
11    resources \
12    rtti \
13    shared \
14    thread
15
16DESTDIR = ../../
17
18unix {
19    target.path = /usr/lib/smssender/gateways
20    INSTALLS += target
21}
22
23contains(DEFINES, FRONTEND_GUI) {
24    FRONTEND_SUFFIX=gui
25} else {
26    error("No frontend defined.")
27}
28
29LIBS += \
30    -L../../../ -lcommon-$$FRONTEND_SUFFIX$$LIB_SUFFIX \
31    -L../../../ -lgateways-common-$$FRONTEND_SUFFIX$$LIB_SUFFIX
32
33unix {
34    # for the case that the dev-package is installed
35    LIBS += -L/usr/lib/smssender
36}
37
38# Needed so that this target gets rebuilt if they change,
39PRE_TARGETDEPS += \
40    ../../../$${LIB_PREFIX}common-$$FRONTEND_SUFFIX$${LIB_SUFFIX}.$$EXT_DYNAMICLIB \
41    ../../../$${LIB_PREFIX}gateways-common-$$FRONTEND_SUFFIX$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
Note: See TracBrowser for help on using the repository browser.