Add qmake config switch CONFIG+=client to easy select building the client

without all the server stuff. Also add /lib/x86_64-linux-gnu to include
PATH.
This commit is contained in:
Felix Hammer
2017-01-05 20:12:45 +01:00
parent 2358eaa5aa
commit 1b63c39f31
2 changed files with 7 additions and 2 deletions
+4
View File
@@ -5,9 +5,13 @@ SUBDIRS = pokerth_protocol.pro pokerth_db.pro pokerth_lib.pro
official_server {
SUBDIRS += pokerth_dbofficial.pro
}
client: {
SUBDIRS += pokerth_game.pro
}
!mac:!gui_800x480:!client:!qml-client {
SUBDIRS += pokerth_server.pro chatcleaner.pro
}
CONFIG += ordered
OTHER_FILES += \
+1
View File
@@ -408,6 +408,7 @@ unix:!mac {
LIBPATH += $${PREFIX}/lib /opt/gsasl/lib
LIB_DIRS = $${PREFIX}/lib \
$${PREFIX}/lib64 \
$${PREFIX}/lib/x86_64-linux-gnu \
$$system(qmake -query QT_INSTALL_LIBS)
}
android{