File: pokerth_dbofficial.pro

package info (click to toggle)
pokerth 1.1.2-1
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 57,920 kB
  • sloc: ansic: 83,615; cpp: 64,151; java: 3,135; xml: 596; sh: 221; makefile: 7
file content (95 lines) | stat: -rw-r--r-- 2,891 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# QMake pro-file for PokerTH official server DB backend
TEMPLATE = lib
CODECFORSRC = UTF-8
CONFIG += staticlib \
    thread \
    exceptions \
    rtti \
    stl \
    warn_on
UI_DIR = uics
TARGET = lib/pokerth_dbofficial
MOC_DIR = mocs
OBJECTS_DIR = obj
QT -= core \
    gui

# Check for c++11
include(pokerth_common.pro)

# PRECOMPILED_HEADER = dbofficial/pch_lib.h
INCLUDEPATH += . \
    ./src
DEPENDPATH += . \
    ./src

# Input
HEADERS += src/dbofficial/asyncdbauth.h \
	src/dbofficial/asyncdbcreategame.h \
	src/dbofficial/asyncdbgameplace.h \
	src/dbofficial/asyncdbupdatescore.h \
	src/dbofficial/asyncdbquery.h \
	src/dbofficial/serverdbthread.h \
	src/dbofficial/serverdbfactoryinternal.h \
	src/dbofficial/compositeasyncdbquery.h \
	src/dbofficial/singleasyncdbquery.h \
	src/dbofficial/querycontext.h \
	src/dbofficial/asyncdbendgame.h \
	src/dbofficial/db_table_defs.h \
	src/dbofficial/asyncdblogin.h \
	src/dbofficial/asyncdbreportavatar.h \
	src/dbofficial/asyncdbreportgame.h \
	src/dbofficial/asyncdbavatarblacklist.h \
	src/dbofficial/asyncdbadminplayers.h \
	src/dbofficial/asyncdbblockplayer.h \
	src/dbofficial/dbidmanager.h
SOURCES += src/dbofficial/asyncdbauth.cpp \
	src/dbofficial/asyncdbcreategame.cpp \
	src/dbofficial/asyncdbgameplace.cpp \
	src/dbofficial/asyncdbupdatescore.cpp \
	src/dbofficial/asyncdbquery.cpp \
	src/dbofficial/serverdbthread.cpp \
	src/dbofficial/serverdbfactoryinternal.cpp \
	src/dbofficial/singleasyncdbquery.cpp \
	src/dbofficial/compositeasyncdbquery.cpp \
	src/dbofficial/querycontext.cpp \
	src/dbofficial/asyncdbendgame.cpp \
	src/dbofficial/asyncdblogin.cpp \
	src/dbofficial/asyncdbreportavatar.cpp \
	src/dbofficial/asyncdbreportgame.cpp \
	src/dbofficial/asyncdbavatarblacklist.cpp \
	src/dbofficial/asyncdbadminplayers.cpp \
	src/dbofficial/asyncdbblockplayer.cpp \
	src/dbofficial/dbidmanager.cpp
win32 { 
    DEFINES += _WIN32_WINNT=0x0501
	INCLUDEPATH += ../../../boost/ \
		../../../GnuTLS/include \
		../../../curl/include \
		../../../mysql/include \
		../../../mysql++/lib \
		../../../zlib
}
!win32 { 
    # #### My release static build options
    # QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
    INCLUDEPATH += \
        /usr/include/mysql \
        /usr/include/mysql++
    INCLUDEPATH += /opt/boost/include
}
mac { 
    # make it universal
    CONFIG += x86
    CONFIG -= ppc
    QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
    
    # for universal-compilation on PPC-Mac uncomment the following line
    # on Intel-Mac you have to comment this line out or build will fail.
    # QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
    INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/
    INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
    INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers
    INCLUDEPATH += /opt/local/include/mysql++ \
        /opt/local/include/mysql5/mysql
}