-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTerrainEdit.pro
100 lines (83 loc) · 2.28 KB
/
TerrainEdit.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
#-------------------------------------------------
#
# Project created by QtCreator 2012-02-23T23:28:27
#
#-------------------------------------------------
QT += core gui opengl
TARGET = TerrainEdit
TEMPLATE = app
CXXFLAGS += -fno-strict-aliasing
Debug:DEFINES += _DEBUG
SOURCES += src/main.cpp\
src/Terrain.cpp \
src/OgreWidget.cpp \
src/MainWindow.cpp \
src/algorithms/HeightMapGen.cpp \
src/algorithms/HMBlock.cpp \
src/ImageViewer.cpp \
src/OptionsDialog.cpp \
src/flora/FloraManager.cpp \
src/flora/FloraMain.cpp \
src/flora/FloraTree.cpp \
src/AddObjectDialog.cpp \
src/NewFileWizard.cpp \
src/WorldOptions.cpp
HEADERS += include/algorithms/TerrainBlock.h \
include/algorithms/Random.h \
include/Terrain.h \
include/OgreWidget.h \
include/MainWindow.h \
include/algorithms/HeightMapGen.h \
include/algorithms/HMBlock.h \
include/ImageViewer.h \
include/OptionsDialog.h \
include/FloraManager.h \
include/FloraMain.h \
include/FloraTree.h \
include/AboutBox.h \
include/AddObjectDialog.h \
include/NewFileWizard.h \
include/WorldOptions.h
OGRE_LOCATION = $$(OGRE_HOME)
BOOST_LOCATION = $$(BOOST_HOME)
isEmpty(OGRE_LOCATION) {
error("Make sure to set OGRE_HOME to the location of your Ogre SDK")
}
isEmpty(BOOST_LOCATION) {
error("Make sure to set BOOST_HOME to the location of Boost")
}
INCLUDEPATH += include/ \
ui/ \
$$(OGRE_HOME)/include \
$$(OGRE_HOME)/include/OGRE \
$$(BOOST_HOME)
UI_DIR = ui/
FORMS += ui/MainWindow.ui \
ui/ImageViewer.ui \
ui/OptionsDialog.ui \
ui/AddObjectDialog.ui
LIBS += -L$$(BOOST_HOME)/stage/lib
CONFIG(debug, debug|release) {
LIBS += -L$$(OGRE_HOME)/lib/debug \
-L$$(OGRE_HOME)/bin/debug \
-lOgreMain_d \
-lOgreTerrain_d \
-lboost_system-mgw48-mt-d-1_60
} else {
LIBS += -L$$(OGRE_HOME)/lib/release \
-L$$(OGRE_HOME)/bin/release \
-lOgreMain \
-lOgreTerrain \
-lboost_system-mgw48-mt-1_60
}
win32 {
DEFINES += _WIN32
RC_FILE = resource.rc
}
macx {
ICON = media/icon.icns
}
OTHER_FILES += \
resource.rc
RESOURCES += \
icons.qrc