-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmutational_switches.pro
69 lines (53 loc) · 1.14 KB
/
mutational_switches.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
# Entry point for user
HEADERS += \
Stopwatch.hpp \
environment.h \
individual.h \
network.h \
observer.h \
parser.h \
population.h \
rndutils.hpp \
simulation.h \
utilities.h
SOURCES += \
environment.cpp \
individual.cpp \
main.cpp \
network.cpp \
observer.cpp \
parser.cpp \
population.cpp \
simulation.cpp \
utilities.cpp
CONFIG += c++17
QMAKE_CXXFLAGS += -std=c++17
CONFIG += resources_big
# High warning levels
# SFML goes bad with -Weffc++
QMAKE_CXXFLAGS += -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic
# A warning is an error
QMAKE_CXXFLAGS += -Werror
# Debug and release settings
CONFIG += debug_and_release
CONFIG(release, debug|release) {
DEFINES += NDEBUG
}
# Qt5
QT += core gui
# SFML, default compiling
# GNU/Linux
unix:!macx {
CONFIG(debug, debug|release) {
# gcov
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
LIBS += -lgcov
}
}
win32{
#LIBS += -lopenal32 #Dependency
#LIBS += -lfreetype #Dependency
LIBS += -lopengl32 #Dependency
LIBS += -lgdi32 #Dependency
LIBS += -lwinmm #Dependency
}