Skip to content

Commit

Permalink
WIP: testing if DEFINES needs to go in both or in top level
Browse files Browse the repository at this point in the history
  • Loading branch information
lbt committed Jun 15, 2020
1 parent c0f8b0d commit d521241
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions common.pri
@@ -0,0 +1 @@
DEFINES += MTP_PLUGINDIR=\\\"$$[QT_INSTALL_LIBS]/mtp\\\"
1 change: 1 addition & 0 deletions mtpserver/mtpserver.pro
@@ -1,3 +1,4 @@
include(../common.pri)
TEMPLATE = lib
TARGET = mtp-server
DEPENDPATH += .
Expand Down
3 changes: 1 addition & 2 deletions mts/mts.pro
@@ -1,4 +1,5 @@
include(common.pri)
include(../common.pri)

QT += xml dbus
QT -= gui
Expand All @@ -7,8 +8,6 @@ LIBS += -lssu

CONFIG += link_pkgconfig debug

DEFINES += MTP_PLUGINDIR=\\\"$$[QT_INSTALL_LIBS]/mtp\\\"

equals(QT_MAJOR_VERSION, 4): {
CONFIG += mobility
MOBILITY = systeminfo
Expand Down
@@ -1,3 +1,4 @@
include(../../../../../common.pri)
include(../../../../common.pri)

CONFIG += warn_off debug_and_release
Expand Down
1 change: 1 addition & 0 deletions mts/platform/storage/unittests/unittests.pro
@@ -1,3 +1,4 @@
include(../../../../common.pri)
include(../../../common.pri)

TEMPLATE = app
Expand Down
1 change: 1 addition & 0 deletions mts/protocol/unittests/unittests.pro
@@ -1,3 +1,4 @@
include(../../../common.pri)
include(../../common.pri)

CONFIG += warn_off debug_and_release
Expand Down
2 changes: 1 addition & 1 deletion rpm/buteo-mtp-qt5.spec
Expand Up @@ -109,7 +109,7 @@ Conflicts: buteo-mtp-tests

%build
%qmake5
make %{_smp_mflags}
make


%install
Expand Down
1 change: 1 addition & 0 deletions test/test.pro
@@ -1,3 +1,4 @@
include(../common.pri)
TEMPLATE = app
TARGET = mtp_test
DEPENDPATH += .
Expand Down

0 comments on commit d521241

Please sign in to comment.