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