-
Notifications
You must be signed in to change notification settings - Fork 17
/
gro.pro
146 lines (129 loc) · 3.14 KB
/
gro.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#-------------------------------------------------
#
# Project created by QtCreator 2012-05-23T09:21:54
#
#-------------------------------------------------
# uncomment this line to compile grong (the no gui version)
# CONFIG += nogui
CONFIG += warn_off
contains ( CONFIG, nogui ) {
QMAKE_CXXFLAGS += -DNOGUI #-std=gnu99
}
win32 {
QMAKE_CXXFLAGS += -O3 -DWIN -DNDEBUG
contains ( CONFIG, nogui ) {
CONFIG += console
}
CONFIG -= app_bundle
}
macx {
QMAKE_CXXFLAGS += -fast
}
makelinks.commands += echo Making links in $$OUT_PWD;
makelinks.commands += ln -s -f examples $${OUT_PWD}/examples;
makelinks.commands += ln -s -f include $${OUT_PWD}/include;
QMAKE_EXTRA_TARGETS += makelinks
POST_TARGETDEPS += makelinks
contains ( CONFIG, nogui ) {
QT -= core gui
TARGET = grong
TEMPLATE = app
} else {
QT += core gui widgets
TARGET = gro
TEMPLATE = app
}
ICON = groicon.icns
SOURCES += main.cpp\
gui.cpp \
GroThread.cpp \
GroWidget.cpp \
Messages.cpp \
Programs.cpp \
Signal.cpp \
Themes.cpp \
Utility.cpp \
World.cpp \
EColi.cpp \
Gro.cpp \
GroPainter.cpp \
Cell.cpp \
reaction.cpp \
#Yeast.cpp
HEADERS += gui.h \
GroThread.h \
GroWidget.h \
Defines.h \
Programs.h \
Utility.h \
Micro.h \
GroPainter.h \
Theme.h \
EColi.h \
Cell.h \
ui_gui.h \
Yeast.h
contains ( CONFIG, nogui ) {
SOURCES -= GroThread.cpp GroWidget.cpp GroPainter.cpp gui.cpp Themes.cpp
HEADERS -= gui.h GroThread.h GroWidget.h GroPainter.h
}
!contains ( CONFIG, nogui ) {
FORMS += gui.ui
}
macx {
LIBS += -L../build-ccl -lccl -L../chipmunk/src -lchip
PRE_TARGETDEPS += ../build-ccl/libccl.a
DEPENDPATH += ../chipmunk/
INCLUDEPATH += ../ccl/ ../chipmunk/include/chipmunk/
# mytarget.commands = COPY EXAMPLES FILE TO APPLICATION DIRECTORY
}
linux {
LIBS += -L../ccl -lccl -L../chipmunk -lchipmunk
PRE_TARGETDEPS += ../ccl/libccl.a
DEPENDPATH += ../chipmunk/
INCLUDEPATH += ../ccl/ ../chipmunk/include/chipmunk/
# mytarget.commands = COPY EXAMPLES FILE TO APPLICATION DIRECTORY
}
OTHER_FILES += \
examples/wave.gro \
examples/skin.gro \
examples/morphogenesis.gro \
examples/inducer.gro \
examples/growth.gro \
examples/gfp.gro \
examples/game.gro \
examples/foreach.gro \
examples/edge.gro \
examples/dilution.gro \
examples/chemotaxis.gro \
examples/bandpass.gro \
include/gro.gro \
include/standard.gro \
icons/stop.png \
icons/step.png \
icons/start.png \
icons/reload.png \
icons/open.png \
examples/signal_demo.gro \
examples/maptocells.gro \
examples/game.gro \
changelog.txt \
error.tiff \
examples/signal_grid.gro \
examples/coupled_oscillator.gro \
examples/spots.gro \
examples/spatial_oscillations.gro \
examples/symbiosis.gro \
LICENSE.txt \
examples/yeast_example.gro \
.gitignore \
doc/compile_mac.md \
doc/compile_linux.md \
README.md \
examples/geometry.gro \
examples/barriers.gro \
examples/signal_dump.gro
!contains ( CONFIG, nogui ) {
RESOURCES += icons.qrc
}
QMAKE_CLEAN += Makefile moc_GroPainter.cpp