blob: fa0573d45bc3a1bcc742419aebec3bd075390a22 (
plain)
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
|
TEMPLATE = app
DEPENDPATH += .. ../quackleio
INCLUDEPATH += . ..
CONFIG += release
debug {
OBJECTS_DIR = obj/debug
QMAKE_LIBDIR += ../lib/debug ../quackleio/lib/debug
}
release {
OBJECTS_DIR = obj/release
QMAKE_LIBDIR += ../lib/release ../quackleio/lib/release
}
MOC_DIR = moc
# enable/disable debug symbols
# CONFIG += debug
CONFIG += console
CONFIG -= app_bundle
win32:!win32-g++ {
LIBS += -lquackleio -llibquackle
} else {
LIBS += -lquackleio -lquackle
}
QMAKE_CXXFLAGS += -std=c++11 -Wno-unknown-warning-option -Wno-deprecated-register
# Input
SOURCES += makegaddag.cpp
win32 {
DEFINES += QUACKLE_USE_WCHAR_FOR_USER_VISIBLE=0
# Following 2 lines are turned on only if the above #define is true
# INCLUDEPATH += $(STLPORTDIR)/stlport
# LIBS += -L$(STLPORTDIR)/lib -lstlport_mingw32_static
QMAKE_CXXFLAGS_DEBUG += -mthreads
QMAKE_CXXFLAGS_RELEASE += -mthreads
}
macx-g++ {
QMAKE_CXXFLAGS += -fpermissive
}
|