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 {
|
official_server {
|
||||||
SUBDIRS += pokerth_dbofficial.pro
|
SUBDIRS += pokerth_dbofficial.pro
|
||||||
}
|
}
|
||||||
|
client: {
|
||||||
|
SUBDIRS += pokerth_game.pro
|
||||||
|
}
|
||||||
!mac:!gui_800x480:!client:!qml-client {
|
!mac:!gui_800x480:!client:!qml-client {
|
||||||
SUBDIRS += pokerth_server.pro chatcleaner.pro
|
SUBDIRS += pokerth_server.pro chatcleaner.pro
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG += ordered
|
CONFIG += ordered
|
||||||
|
|
||||||
OTHER_FILES += \
|
OTHER_FILES += \
|
||||||
|
|||||||
@@ -408,6 +408,7 @@ unix:!mac {
|
|||||||
LIBPATH += $${PREFIX}/lib /opt/gsasl/lib
|
LIBPATH += $${PREFIX}/lib /opt/gsasl/lib
|
||||||
LIB_DIRS = $${PREFIX}/lib \
|
LIB_DIRS = $${PREFIX}/lib \
|
||||||
$${PREFIX}/lib64 \
|
$${PREFIX}/lib64 \
|
||||||
|
$${PREFIX}/lib/x86_64-linux-gnu \
|
||||||
$$system(qmake -query QT_INSTALL_LIBS)
|
$$system(qmake -query QT_INSTALL_LIBS)
|
||||||
}
|
}
|
||||||
android{
|
android{
|
||||||
|
|||||||
Reference in New Issue
Block a user