calcHandsChance
This commit is contained in:
@@ -99,6 +99,7 @@ HEADERS += \
|
||||
src/engine/local_engine/tools.h \
|
||||
src/engine/local_engine/localbero.h \
|
||||
src/engine/local_engine/localexception.h \
|
||||
src/engine/local_engine/arraydata.h \
|
||||
src/engine/network_engine/clientboard.h \
|
||||
src/engine/network_engine/clientenginefactory.h \
|
||||
src/engine/network_engine/clienthand.h \
|
||||
@@ -140,6 +141,7 @@ SOURCES += \
|
||||
src/engine/local_engine/tools.cpp \
|
||||
src/engine/local_engine/localbero.cpp \
|
||||
src/engine/local_engine/localexception.cpp \
|
||||
src/engine/local_engine/arraydata.cpp \
|
||||
src/engine/network_engine/clientboard.cpp \
|
||||
src/engine/network_engine/clientenginefactory.cpp \
|
||||
src/engine/network_engine/clienthand.cpp \
|
||||
|
||||
+19
-20
@@ -1,7 +1,7 @@
|
||||
# QMake pro-file for the PokerTH dedicated server
|
||||
|
||||
isEmpty( PREFIX ) {
|
||||
PREFIX=/usr
|
||||
isEmpty( PREFIX ){
|
||||
PREFIX =/usr
|
||||
}
|
||||
|
||||
TEMPLATE = app
|
||||
@@ -125,12 +125,12 @@ win32 {
|
||||
|
||||
LIBS += -lpokerth_lib
|
||||
|
||||
win32-msvc2005{
|
||||
win32-msvc2005 {
|
||||
LIBS += -llibgnutls-openssl -llibgcrypt
|
||||
LIBS += -llibcurl
|
||||
}
|
||||
|
||||
win32-g++{
|
||||
win32-g++ {
|
||||
LIBS += -lgnutls-openssl -lgnutls -lgcrypt -ltasn1 -lgpg-error
|
||||
LIBS += -lcurl
|
||||
LIBS += -lz
|
||||
@@ -169,28 +169,28 @@ unix : !mac {
|
||||
BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
|
||||
BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
|
||||
|
||||
for(dir, LIB_DIRS) {
|
||||
exists($$dir) {
|
||||
for(lib, BOOST_THREAD) {
|
||||
exists($${dir}/lib$${lib}.so*) {
|
||||
for(dir, LIB_DIRS){
|
||||
exists($$dir){
|
||||
for(lib, BOOST_THREAD){
|
||||
exists($${dir}/lib$${lib}.so*){
|
||||
message("Found $$lib")
|
||||
BOOST_THREAD = -l$$lib
|
||||
}
|
||||
}
|
||||
for(lib, BOOST_FS) {
|
||||
exists($${dir}/lib$${lib}.so*) {
|
||||
for(lib, BOOST_FS){
|
||||
exists($${dir}/lib$${lib}.so*){
|
||||
message("Found $$lib")
|
||||
BOOST_FS = -l$$lib
|
||||
}
|
||||
}
|
||||
for(lib, BOOST_PROGRAM_OPTIONS) {
|
||||
exists($${dir}/lib$${lib}.so*) {
|
||||
for(lib, BOOST_PROGRAM_OPTIONS){
|
||||
exists($${dir}/lib$${lib}.so*){
|
||||
message("Found $$lib")
|
||||
BOOST_PROGRAM_OPTIONS = -l$$lib
|
||||
}
|
||||
}
|
||||
for(lib, BOOST_IOSTREAMS) {
|
||||
exists($${dir}/lib$${lib}.so*) {
|
||||
for(lib, BOOST_IOSTREAMS){
|
||||
exists($${dir}/lib$${lib}.so*){
|
||||
message("Found $$lib")
|
||||
BOOST_IOSTREAMS = -l$$lib
|
||||
}
|
||||
@@ -198,9 +198,8 @@ unix : !mac {
|
||||
}
|
||||
}
|
||||
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS
|
||||
!count(BOOST_LIBS, 4) {
|
||||
error("could not locate required library: \
|
||||
libboost (version >= 1.34.1) --> http://www.boost.org/")
|
||||
!count(BOOST_LIBS, 4){
|
||||
error( libboost (version >= 1.34.1) --> http://www.boost.org/")
|
||||
}
|
||||
|
||||
UNAME = $$system(uname -s)
|
||||
@@ -209,7 +208,7 @@ unix : !mac {
|
||||
LIBS += -lpokerth_lib
|
||||
LIBS += $$BOOST_LIBS
|
||||
LIBS += -lcurl
|
||||
!isEmpty( BSD ) {
|
||||
!isEmpty( BSD ){
|
||||
LIBS += -lcrypto -liconv
|
||||
} else {
|
||||
LIBS += -lgnutls-openssl -lgcrypt
|
||||
@@ -223,9 +222,9 @@ unix : !mac {
|
||||
binary.files += pokerth_server
|
||||
|
||||
INSTALLS += binary
|
||||
}
|
||||
}
|
||||
|
||||
mac{
|
||||
mac {
|
||||
# make it universal
|
||||
CONFIG += x86
|
||||
CONFIG += ppc
|
||||
|
||||
Reference in New Issue
Block a user