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:
@@ -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 += \
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user