Trying to integrate sqlite3 for other OSes.
This commit is contained in:
+9
-15
@@ -293,6 +293,13 @@ TRANSLATIONS = ts/pokerth_af.ts \
|
|||||||
ts/pokerth_ta.ts \
|
ts/pokerth_ta.ts \
|
||||||
ts/pokerth_tr.ts \
|
ts/pokerth_tr.ts \
|
||||||
ts/pokerth_START_HERE.ts
|
ts/pokerth_START_HERE.ts
|
||||||
|
|
||||||
|
LIBS += -lpokerth_lib \
|
||||||
|
-lpokerth_db \
|
||||||
|
-lpokerth_protocol \
|
||||||
|
-lcurl \
|
||||||
|
-lsqlite3
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
DEFINES += CURL_STATICLIB
|
DEFINES += CURL_STATICLIB
|
||||||
DEFINES += _WIN32_WINNT=0x0501
|
DEFINES += _WIN32_WINNT=0x0501
|
||||||
@@ -315,13 +322,9 @@ win32 {
|
|||||||
../SDL_mixer/lib \
|
../SDL_mixer/lib \
|
||||||
../mysql/lib \
|
../mysql/lib \
|
||||||
../zlib
|
../zlib
|
||||||
LIBS += -lpokerth_lib \
|
LIBS += -lSDL_mixer \
|
||||||
-lpokerth_db \
|
|
||||||
-lpokerth_protocol \
|
|
||||||
-lSDL_mixer \
|
|
||||||
-lSDL \
|
-lSDL \
|
||||||
-lSDLmain \
|
-lSDLmain \
|
||||||
-lcurl \
|
|
||||||
-lz
|
-lz
|
||||||
debug:LIBPATH += debug/lib
|
debug:LIBPATH += debug/lib
|
||||||
release:LIBPATH += release/lib
|
release:LIBPATH += release/lib
|
||||||
@@ -442,14 +445,9 @@ unix:!mac {
|
|||||||
UNAME = $$system(uname -s)
|
UNAME = $$system(uname -s)
|
||||||
BSD = $$find(UNAME, "BSD")
|
BSD = $$find(UNAME, "BSD")
|
||||||
kFreeBSD = $$find(UNAME, "kFreeBSD")
|
kFreeBSD = $$find(UNAME, "kFreeBSD")
|
||||||
LIBS += -lpokerth_lib \
|
|
||||||
-lpokerth_db \
|
|
||||||
-lpokerth_protocol
|
|
||||||
LIBS += $$BOOST_LIBS
|
LIBS += $$BOOST_LIBS
|
||||||
LIBS += -lSDL_mixer \
|
LIBS += -lSDL_mixer \
|
||||||
-lcurl \
|
-lgsasl
|
||||||
-lgsasl \
|
|
||||||
-lsqlite3
|
|
||||||
!isEmpty( BSD ):isEmpty( kFreeBSD ):LIBS += -lcrypto
|
!isEmpty( BSD ):isEmpty( kFreeBSD ):LIBS += -lcrypto
|
||||||
else:LIBS += -lgnutls-openssl \
|
else:LIBS += -lgnutls-openssl \
|
||||||
-lgcrypt
|
-lgcrypt
|
||||||
@@ -483,9 +481,6 @@ mac {
|
|||||||
# on Intel-Mac you have to comment this line out or build will fail.
|
# on Intel-Mac you have to comment this line out or build will fail.
|
||||||
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
|
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
|
||||||
LIBPATH += lib
|
LIBPATH += lib
|
||||||
LIBS += -lpokerth_lib \
|
|
||||||
-lpokerth_db \
|
|
||||||
-lpokerth_protocol
|
|
||||||
|
|
||||||
# QT dynamic linked framework (see also mac_post_make.sh)
|
# QT dynamic linked framework (see also mac_post_make.sh)
|
||||||
LIBS += -framework \
|
LIBS += -framework \
|
||||||
@@ -512,7 +507,6 @@ mac {
|
|||||||
LIBS += -lcrypto \
|
LIBS += -lcrypto \
|
||||||
-lssl \
|
-lssl \
|
||||||
-lz \
|
-lz \
|
||||||
-lcurl \
|
|
||||||
-framework \
|
-framework \
|
||||||
Carbon
|
Carbon
|
||||||
|
|
||||||
|
|||||||
+8
-12
@@ -112,6 +112,12 @@ SOURCES += \
|
|||||||
src/net/common/net_helper_server.cpp \
|
src/net/common/net_helper_server.cpp \
|
||||||
src/core/common/loghelper_server.cpp
|
src/core/common/loghelper_server.cpp
|
||||||
|
|
||||||
|
LIBS += -lpokerth_lib \
|
||||||
|
-lpokerth_db \
|
||||||
|
-lpokerth_protocol \
|
||||||
|
-lcurl \
|
||||||
|
-lsqlite3
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
DEFINES += CURL_STATICLIB
|
DEFINES += CURL_STATICLIB
|
||||||
DEFINES += _WIN32_WINNT=0x0501
|
DEFINES += _WIN32_WINNT=0x0501
|
||||||
@@ -122,12 +128,6 @@ win32 {
|
|||||||
|
|
||||||
LIBPATH += ../boost/stage/lib ../GnuTLS/lib ../openssl/lib ../gsasl/lib ../curl/lib ../mysql/lib ../zlib
|
LIBPATH += ../boost/stage/lib ../GnuTLS/lib ../openssl/lib ../gsasl/lib ../curl/lib ../mysql/lib ../zlib
|
||||||
|
|
||||||
LIBS += -lpokerth_lib \
|
|
||||||
-lpokerth_db \
|
|
||||||
-lpokerth_protocol \
|
|
||||||
-lcurl \
|
|
||||||
-lz
|
|
||||||
|
|
||||||
debug:LIBPATH += debug/lib
|
debug:LIBPATH += debug/lib
|
||||||
release:LIBPATH += release/lib
|
release:LIBPATH += release/lib
|
||||||
|
|
||||||
@@ -270,11 +270,8 @@ unix : !mac {
|
|||||||
BSD = $$find(UNAME, "BSD")
|
BSD = $$find(UNAME, "BSD")
|
||||||
kFreeBSD = $$find(UNAME, "kFreeBSD")
|
kFreeBSD = $$find(UNAME, "kFreeBSD")
|
||||||
|
|
||||||
LIBS += -lpokerth_lib \
|
|
||||||
-lpokerth_db \
|
|
||||||
-lpokerth_protocol
|
|
||||||
LIBS += $$BOOST_LIBS
|
LIBS += $$BOOST_LIBS
|
||||||
LIBS += -lcurl -lgsasl -lsqlite3
|
LIBS += -lgsasl
|
||||||
!isEmpty( BSD ): isEmpty( kFreeBSD ){
|
!isEmpty( BSD ): isEmpty( kFreeBSD ){
|
||||||
LIBS += -lcrypto -liconv
|
LIBS += -lcrypto -liconv
|
||||||
} else {
|
} else {
|
||||||
@@ -304,7 +301,6 @@ mac {
|
|||||||
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
|
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
|
||||||
|
|
||||||
LIBPATH += lib
|
LIBPATH += lib
|
||||||
LIBS += -lpokerth_lib -lpokerth_db -lpokerth_protocol
|
|
||||||
# standard path for darwinports
|
# standard path for darwinports
|
||||||
# make sure you have a universal version of boost
|
# make sure you have a universal version of boost
|
||||||
LIBS += /usr/local/lib/libboost_thread.a
|
LIBS += /usr/local/lib/libboost_thread.a
|
||||||
@@ -316,7 +312,7 @@ mac {
|
|||||||
LIBS += /usr/local/lib/libgsasl.a
|
LIBS += /usr/local/lib/libgsasl.a
|
||||||
|
|
||||||
# libraries installed on every mac
|
# libraries installed on every mac
|
||||||
LIBS += -lcrypto -lssl -lz -lcurl -liconv
|
LIBS += -lcrypto -lssl -lz -liconv
|
||||||
# set the application icon
|
# set the application icon
|
||||||
RC_FILE = pokerth.icns
|
RC_FILE = pokerth.icns
|
||||||
LIBPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/lib
|
LIBPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/lib
|
||||||
|
|||||||
Reference in New Issue
Block a user