-
Notifications
You must be signed in to change notification settings - Fork 0
/
RamseyX.pro
127 lines (108 loc) · 3.77 KB
/
RamseyX.pro
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#-------------------------------------------------
#
# Project created by QtCreator 2014-01-27T16:06:59
#
#-------------------------------------------------
QT += core gui network #sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
lessThan(QT_MAJOR_VERSION, 5): warning("Working with Qt $$QT_MAJOR_VERSION$$QT_MINOR_VERSION$$QT_PATCH_VERSION , which is earlier than Qt 5")
TARGET = ramseyx
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
dhry_2.c dhry_1.c \
accountdialog.cpp \
signupdialog.cpp \
graph.cpp \
ramseyxcontroller.cpp \
ramseyxcurlwrapper.cpp \
ramseyxtask.cpp
HEADERS += mainwindow.h \
dhry.h \
accountdialog.h \
signupdialog.h \
checkforupdateworker.h \
whatsupworker.h \
refresh20worker.h \
refreshoverallworker.h \
validateaccountworker.h \
signupworker.h \
bitsetiterator.h \
graph.h \
ramseyxcontroller.h \
ramseyxcurlwrapper.h \
ramseyxutils.h \
ramseyxtask.h \
ramseyxdefs.h
FORMS += mainwindow.ui \
accountdialog.ui \
signupdialog.ui
RESOURCES += resource.qrc
OTHER_FILES += ramseyx.rc \
COPYING \
README.md
VERSION = 5.0.3
QMAKE_TARGET_PRODUCT = RamseyX Client
QMAKE_TARGET_DESCRIPTION = RamseyX Client
DEFINES += RX_QT APP_VERSION=\\\"$$VERSION\\\"
# Specify the paths of your boost (unnecessary for MSVC) and libcurl libraries below
CONFIG(debug, debug|release) {
CURL_DIR = "C:/Dev/Libraries/curl-7.35.0_msvc2013_x86/builds/libcurl-vc12-x86-debug-dll-ipv6-sspi-spnego-winssl"
BOOST_DIR = "C:/Dev/Libraries/boost_1_55_0"
warning("You are now in debug mode which will build your binary without any optimization.")
}
CONFIG(release, debug|release) {
CURL_DIR = "C:/Dev/Libraries/curl-7.35.0_msvc2013_x86/builds/libcurl-vc12-x86-release-dll-ipv6-sspi-spnego-winssl"
BOOST_DIR = "C:/Dev/Libraries/boost_1_55_0"
}
update {
DEFINES += UPDATE_RAMSEYX
message( "(CONFIG+=update) passed to qmake. Will use update shell for UNIX-LIKE systems." )
}
win32 {
DEFINES += NOMINMAX
RC_FILE += ramseyx.rc
}
msvc {
DEFINES += _CRT_SECURE_NO_WARNINGS
# Configure this for your Windows SDKs
INCLUDEPATH += "%ProgramFiles(x86)%/Microsoft SDKs/Windows/v7.1A/Include"
LIBS += -L"%ProgramFiles(x86)%/Microsoft SDKs/Windows/v7.1A/Lib" -lshell32
# Configure this for your libcurl library
CONFIG(debug, debug|release) {
INCLUDEPATH += "$$CURL_DIR/include"
LIBS += -L"$$CURL_DIR/lib" -llibcurl_debug
}
# Configure this for your libcurl library
CONFIG(release, debug|release) {
INCLUDEPATH += "$$CURL_DIR/include"
LIBS += -L"$$CURL_DIR/lib" -llibcurl
}
QMAKE_CXXFLAGS += /EHsc /W4 /WX
QMAKE_CXXFLAGS_RELEASE += /O2 /GL
QMAKE_LFLAGS = /WX
QMAKE_LFLAGS_RELEASE += /LTCG
}
gcc|clang {
# Configure this for your boost:atomic and libcurl libraries
INCLUDEPATH += "$$CURL_DIR/include" "$$BOOST_DIR" \
"/usr/local/include" "/usr/include" "/usr/share/include" "/opt/local/include"
LIBS += -L"$$CURL_DIR/lib" -L"/usr/local/lib" -L"/usr/share/lib" -L"/usr/lib" -L"/opt/local/lib" -lcurl
# Configure this for your boost:atomic library
CONFIG(debug, debug|release) {
LIBS += -L"$$BOOST_DIR/stage/lib" -lboost_atomic-mt-d
}
# Configure this for your boost:atomic library
CONFIG(release, debug|release) {
LIBS += -L"$$BOOST_DIR/stage/lib" -lboost_atomic-mt
}
QMAKE_CXXFLAGS += -std=c++11 -Wall -Wextra -pedantic
win32: QMAKE_CXXFLAGS_DEBUG += -static -ggdb # For memory check
QMAKE_CXXFLAGS_RELEASE -= -O -O1 -O2 -Os
QMAKE_CXXFLAGS_RELEASE += -O3 -flto
win32: QMAKE_LFLAGS_DEBUG += -static -ggdb # For memory check
QMAKE_LFLAGS_RELEASE += -flto
}
# Translations
TRANSLATIONS = $${TARGET}_zh_CN.ts $${TARGET}_zh_TW.ts
CODEFORSRC = UTF-8