Subversion Repositories public iLand

Rev

Rev 1221 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1
 
678 werner 2
#-------------------------------------------------
3
#
1212 werner 4
# iLand console version project file. See iland.boku.ac.at
678 werner 5
#
6
#-------------------------------------------------
7
 
8
## iLand console application
9
QT       += core
989 werner 10
QT       -= gui ### we include the GUI library for QColor, QImage
678 werner 11
QT       += xml
12
QT       += sql
827 werner 13
QT       += qml
678 werner 14
 
15
INCLUDEPATH += ../core \
16
    ../tools \
924 werner 17
    ../output \
18
    ../abe \
19
    ../abe/output \
947 werner 20
    ../ilandc
678 werner 21
 
924 werner 22
 
678 werner 23
DEPENDPATH += plugins
761 werner 24
CONFIG += exceptions
25
CONFIG += rtti
26
 
780 werner 27
LIBS += -lQt5Concurrent
28
 
678 werner 29
CONFIG(debug, debug|release) {
780 werner 30
win32-msvc*:contains(QMAKE_TARGET.arch, x86_64):{
31
#debug msvc
32
PRE_TARGETDEPS += ../plugins/iland_fired.lib
33
PRE_TARGETDEPS += ../plugins/iland_windd.lib
976 werner 34
PRE_TARGETDEPS += ../plugins/iland_barkbeetled.lib
35
LIBS += -L../plugins -liland_fired -liland_windd -liland_barkbeetled
1157 werner 36
message(windows debug)
678 werner 37
}
1053 werner 38
win32:*gcc*: {
1032 werner 39
PRE_TARGETDEPS += ../plugins/libiland_fired.a
40
PRE_TARGETDEPS += ../plugins/libiland_windd.a
41
PRE_TARGETDEPS += ../plugins/libiland_barkbeetled.a
42
LIBS += -L../plugins -liland_fired -liland_windd -liland_barkbeetled
1157 werner 43
message(gcc debug)
780 werner 44
}
1053 werner 45
linux-g++: {
46
 ## debug on linux
47
message("linux g++ debug")
1157 werner 48
# QMAKE_CXXFLAGS += -g -O2
1053 werner 49
PRE_TARGETDEPS += ../plugins/libiland_fire.a
50
PRE_TARGETDEPS += ../plugins/libiland_wind.a
51
PRE_TARGETDEPS += ../plugins/libiland_barkbeetle.a
52
LIBS += -L../plugins -liland_fire -liland_wind -liland_barkbeetle
53
}
678 werner 54
 
986 werner 55
}
780 werner 56
 
986 werner 57
 
678 werner 58
CONFIG(release, debug|release) {
1053 werner 59
win32:*gcc*: {
678 werner 60
# release stuff
986 werner 61
PRE_TARGETDEPS += ../plugins/libiland_fire.a
62
PRE_TARGETDEPS += ../plugins/libiland_wind.a
63
PRE_TARGETDEPS += ../plugins/libiland_barkbeetle.a
987 werner 64
LIBS += -L../plugins -liland_fire -liland_wind -liland_barkbeetle
1099 werner 65
message(gcc release)
986 werner 66
}
780 werner 67
win32-msvc*:contains(QMAKE_TARGET.arch, x86_64):{
68
#debug msvc
69
PRE_TARGETDEPS += ../plugins/iland_fire.lib
70
PRE_TARGETDEPS += ../plugins/iland_wind.lib
976 werner 71
PRE_TARGETDEPS += ../plugins/iland_barkbeetle.lib
1081 werner 72
### debug symbols...
73
#QMAKE_CXXFLAGS_RELEASE += /Zi
74
#QMAKE_LFLAGS_RELEASE += /DEBUG
976 werner 75
LIBS += -L../plugins -liland_fire -liland_wind -liland_barkbeetle
1157 werner 76
message(windows release x)
678 werner 77
}
1197 werner 78
linux-g++*: {
1053 werner 79
 ## release on linux
80
message("linux g++ release")
81
PRE_TARGETDEPS += ../plugins/libiland_fire.a
82
PRE_TARGETDEPS += ../plugins/libiland_wind.a
83
PRE_TARGETDEPS += ../plugins/libiland_barkbeetle.a
84
LIBS += -L../plugins -liland_fire -liland_wind -liland_barkbeetle
1197 werner 85
#QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
86
#QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO
1053 werner 87
message($$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO)
88
 
780 werner 89
}
1099 werner 90
linux-icc*: {
1098 werner 91
 ## release on linux
92
message("linux intel icc release")
93
PRE_TARGETDEPS += ../plugins/libiland_fire.a
94
PRE_TARGETDEPS += ../plugins/libiland_wind.a
95
PRE_TARGETDEPS += ../plugins/libiland_barkbeetle.a
96
LIBS += -L../plugins -liland_fire -liland_wind -liland_barkbeetle
97
#QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
98
#QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO
678 werner 99
 
1053 werner 100
}
1098 werner 101
}
1053 werner 102
 
996 werner 103
DEFINES += NO_DEBUG_MSGS
780 werner 104
 
678 werner 105
CONFIG += precompile_header
106
 
107
TARGET = ilandc
108
CONFIG   += console
109
CONFIG   -= app_bundle
110
 
111
TEMPLATE = app
112
 
704 werner 113
# to enable debug symbols in release code
114
# debug information in release-mode executable
773 werner 115
#QMAKE_CXXFLAGS_RELEASE += -g
116
#QMAKE_LFLAGS_RELEASE -= -Wl,-s
678 werner 117
 
704 werner 118
 
678 werner 119
### Flag to allow 3GB on Win 32
120
### you also need to modify boot.ini ...
865 werner 121
#QMAKE_LFLAGS_CONSOLE += -Wl,--large-address-aware
678 werner 122
 
865 werner 123
SOURCES += main.cpp \
678 werner 124
    consoleshell.cpp \
1182 werner 125
    ../core/version.cpp \
678 werner 126
    ../core/model.cpp \
127
    ../core/modelcontroller.cpp \
128
    ../core/grid.cpp \
129
    ../core/tree.cpp \
130
    ../tools/expression.cpp \
131
    ../tools/helper.cpp \
132
    ../core/stamp.cpp \
133
    ../core/stampcontainer.cpp \
134
    ../core/species.cpp \
135
    ../tools/ticktack.cpp \
136
    ../tools/settingmetadata.cpp \
137
    ../tools/globalsettings.cpp \
138
    ../core/speciesset.cpp \
139
    ../core/resourceunit.cpp \
140
    ../tools/xmlhelper.cpp \
141
    ../core/standloader.cpp \
142
    ../core/resourceunitspecies.cpp \
143
    ../core/production3pg.cpp \
144
    ../core/threadrunner.cpp \
145
    ../tools/expressionwrapper.cpp \
146
    ../output/output.cpp \
147
    ../output/treeout.cpp \
148
    ../output/outputmanager.cpp \
149
    ../output/standout.cpp \
837 werner 150
    ../output/landscapeout.cpp \
678 werner 151
    ../core/standstatistics.cpp \
152
    ../output/dynamicstandout.cpp \
153
    ../core/management.cpp \
154
    ../core/speciesresponse.cpp \
155
    ../core/climate.cpp \
156
    ../core/modelsettings.cpp \
157
    ../core/phenology.cpp \
158
    ../tools/floatingaverage.cpp \
159
    ../output/productionout.cpp \
160
    ../core/watercycle.cpp \
161
    ../tools/climateconverter.cpp \
162
    ../tools/csvfile.cpp \
163
    ../tools/scriptglobal.cpp \
164
    ../output/standdeadout.cpp \
165
    ../core/environment.cpp \
166
    ../output/managementout.cpp \
167
    ../tools/sqlhelper.cpp \
168
    ../tools/random.cpp \
169
    ../core/timeevents.cpp \
170
    ../core/seeddispersal.cpp \
171
    ../core/establishment.cpp \
172
    ../core/soil.cpp \
173
    ../core/snag.cpp \
1182 werner 174
    ../core/saplings.cpp \
678 werner 175
    ../output/saplingout.cpp \
176
    ../tools/gisgrid.cpp \
177
    ../tools/mapgrid.cpp \
759 werner 178
    ../tools/randomgenerator.cpp \
678 werner 179
    ../output/carbonout.cpp \
180
    ../output/carbonflowout.cpp \
181
    ../tools/modules.cpp \
182
    ../tools/dem.cpp \
183
    ../3rdparty/SimpleRNG.cpp \
768 werner 184
    ../output/snapshot.cpp \
827 werner 185
    ../tools/spatialanalysis.cpp \
186
    ../tools/statdata.cpp \
187
    ../tools/debugtimer.cpp \
924 werner 188
    ../abe/fomewrapper.cpp \
189
    ../abe/fmstand.cpp \
190
    ../abe/agent.cpp \
191
    ../abe/fmunit.cpp \
192
    ../abe/agenttype.cpp \
193
    ../abe/fomescript.cpp \
194
    ../abe/activity.cpp \
195
    ../abe/forestmanagementengine.cpp \
196
    ../abe/fmstp.cpp \
197
    ../abe/thinning.cpp \
198
    ../abe/actgeneral.cpp \
199
    ../abe/abegrid.cpp \
200
    ../abe/scheduler.cpp \
201
    ../abe/fmtreelist.cpp \
202
    ../abe/actscheduled.cpp \
203
    ../abe/actplanting.cpp \
204
    ../abe/actsalvage.cpp \
205
    ../abe/output/unitout.cpp \
206
    ../abe/output/abestandout.cpp \
947 werner 207
    ../abe/output/abestandremovalout.cpp \
1065 werner 208
    ../abe/actthinning.cpp \
1081 werner 209
    ../core/grasscover.cpp \
1157 werner 210
    ../tools/scriptgrid.cpp \
211
    ../output/waterout.cpp
827 werner 212
 
1157 werner 213
 
678 werner 214
HEADERS += \
215
    consoleshell.h \
216
    stable.h \
1182 werner 217
    ../core/version.h \
678 werner 218
    ../core/model.h \
219
    ../core/modelcontroller.h \
220
    ../core/grid.h \
221
    ../core/tree.h \
222
    ../tools/expression.h \
223
    ../tools/helper.h \
224
    ../core/exception.h \
225
    ../core/global.h \
226
    ../core/stamp.h \
227
    ../core/stampcontainer.h \
228
    ../core/species.h \
229
    ../tools/ticktack.h \
230
    ../tools/settingmetadata.h \
231
    ../tools/globalsettings.h \
232
    ../core/speciesset.h \
233
    ../core/model.h \
234
    ../core/resourceunit.h \
235
    ../tools/xmlhelper.h \
236
    ../core/standloader.h \
237
    ../core/resourceunitspecies.h \
238
    ../core/production3pg.h \
239
    ../core/threadrunner.h \
240
    ../tools/expressionwrapper.h \
241
    ../output/output.h \
242
    ../output/treeout.h \
243
    ../output/outputmanager.h \
244
    ../output/standout.h \
837 werner 245
    ../output/landscapeout.h \
678 werner 246
    ../core/standstatistics.h \
247
    ../output/dynamicstandout.h \
248
    ../core/management.h \
249
    ../core/speciesresponse.h \
250
    ../core/climate.h \
251
    ../core/modelsettings.h \
252
    ../core/phenology.h \
253
    ../tools/floatingaverage.h \
254
    ../output/productionout.h \
255
    ../core/watercycle.h \
256
    ../tools/climateconverter.h \
257
    ../tools/csvfile.h \
258
    ../tools/scriptglobal.h \
259
    ../output/standdeadout.h \
260
    ../core/environment.h \
261
    ../output/managementout.h \
262
    ../tools/sqlhelper.h \
263
    ../tools/random.h \
759 werner 264
    ../tools/randomgenerator.h \
678 werner 265
    ../3rdparty/MersenneTwister.h \
266
    ../core/timeevents.h \
267
    ../core/seeddispersal.h \
268
    ../core/establishment.h \
269
    ../core/soil.h \
270
    ../core/snag.h \
1182 werner 271
    ../core/saplings.h \
678 werner 272
    ../output/saplingout.h \
273
    ../tools/gisgrid.h \
274
    ../tools/mapgrid.h \
275
    ../output/carbonout.h \
276
    ../output/carbonflowout.h \
277
    ../core/plugin_interface.h \
278
    ../tools/modules.h \
279
    ../tools/dem.h \
280
    ../core/layeredgrid.h \
281
    ../3rdparty/SimpleRNG.h \
768 werner 282
    ../output/snapshot.h \
827 werner 283
    ../tools/spatialanalysis.h \
284
    ../tools/statdata.h \
285
    ../tools/debugtimer.h \
924 werner 286
    ../abe/activity.h \
287
    ../abe/forestmanagementengine.h \
288
    ../abe/abe_global.h \
289
    ../abe/fomewrapper.h \
290
    ../abe/fmstand.h \
291
    ../abe/agent.h \
292
    ../abe/fmunit.h \
293
    ../abe/agenttype.h \
294
    ../abe/fomescript.h \
295
    ../output/landscapeout.h \
296
    ../abe/fmstp.h \
297
    ../abe/thinning.h \
298
    ../abe/actgeneral.h \
299
    ../abe/abegrid.h \
300
    ../abe/scheduler.h \
301
    ../abe/fmtreelist.h \
302
    ../abe/actscheduled.h \
303
    ../abe/actplanting.h \
304
    ../abe/actsalvage.h \
305
    ../abe/output/unitout.h \
306
    ../abe/output/abestandout.h \
947 werner 307
    ../abe/output/abestandremovalout.h \
1081 werner 308
    ../abe/actthinning.h \
309
    ../core/grasscover.h \
1157 werner 310
    ../tools/scriptgrid.h \
311
    ../output/waterout.h
768 werner 312
 
827 werner 313
 
924 werner 314
 
1157 werner 315