-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathOgreRecast.pro
More file actions
177 lines (163 loc) · 5.74 KB
/
OgreRecast.pro
File metadata and controls
177 lines (163 loc) · 5.74 KB
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# -------------------------------------------------
# QtCreator project for OgreRecast demo
# -------------------------------------------------
TARGET = OgreRecastDemo
TEMPLATE = app
# Enable Gprof profiling
QMAKE_CXXFLAGS_DEBUG += -pg
QMAKE_LFLAGS_DEBUG += -pg
unix {
message("--- Unix specific configuration ---")
# Location of Ogre main libs
# You may need to change this include directory
INCLUDEPATH += /usr/include/OGRE
# Include Ogre Terrain
INCLUDEPATH += /usr/include/OGRE/Terrain
LIBS += -L/usr/lib/ \
-lOgreTerrain
# Include Ogre Camera Control System addon (needs to be compiled and manually installed separately)
# Include OIS
INCLUDEPATH += /usr/include/OIS
LIBS += -L/usr/lib/ \
-lOIS
# Include CEGUI libs (Crazy Eddys GUI)
INCLUDEPATH += /usr/local/include/CEGUI
LIBS += -L/usr/local/lib/CEGUI \
-L/usr/local/lib # \
# INCLUDEPATH += dependencies/Caelum/include
# INCLUDEPATH += dependencies/PagedGeometry/include
# INCLUDEPATH += dependencies/CameraControlSystem/include
# Include Berkelium libs
# INCLUDEPATH += dependencies/Berkelium/include
# LIBS += -Ldependencies/Berkelium/berkelium-linux32/lib \
# -llibberkelium
CONFIG += link_pkgconfig
PKGCONFIG += OGRE
}
win32 {
message("--- Windows specific configuration ---")
# Location of Ogre main libs (SDK)
# You may need to change this include directory
OGREHOME = D:\ogrehead\sdk
LIBS += -LC:\boost\boost_1_40\lib
Release:LIBS += -L$$OGREHOME\lib\release
Debug:LIBS += -L$$OGREHOME\lib\debug
INCLUDEPATH += $$OGREHOME\include\OGRE
INCLUDEPATH += C:\boost\boost_1_40
# Application icon
RC_FILE = res/resource.rc
}
# TODO might need altering, copied from other project and untested
macx {
message("--- Mac OS X specific configuration ---")
CONFIG += x86 \
ppc
LIBS += -framework \
Ogre \
-framework \
AGL
INCLUDEPATH += /Library/Frameworks/Ogre.framework/Headers
# create link to data dir in the build dir
system(mkdir build)
system(ln -fs ../Data build/Data)
}
# Load project internal includes
INCLUDEPATH += include
INCLUDEPATH += Samples/include
# Load external dependencies included in project folder
# INCLUDEPATH += dependencies/include
# Helper functions
CONFIG(debug, debug|release) {
TARGET = $$join(TARGET,,,d)
# LIBS *= -lOgreMain_d
# Werk altijd met non-debug ogre libs:
LIBS *= -lOgreMain
}
CONFIG(release, debug|release):LIBS *= -lOgreMain
# Project files
message("--- Project Input Files ---")
SOURCES += Samples/src/BaseApplication.cpp \
Samples/src/OgreRecastApplication.cpp \
src/OgreRecast.cpp \
src/Detour/DetourAlloc.cpp \
src/Detour/DetourNavMeshQuery.cpp \
src/Detour/DetourNavMesh.cpp \
src/Detour/DetourNavMeshBuilder.cpp \
src/Detour/DetourCommon.cpp \
src/Detour/DetourNode.cpp \
src/DetourCrowd/DetourCrowd.cpp \
src/DetourCrowd/DetourPathQueue.cpp \
src/DetourCrowd/DetourPathCorridor.cpp \
src/DetourCrowd/DetourObstacleAvoidance.cpp \
src/DetourCrowd/DetourLocalBoundary.cpp \
src/DetourCrowd/DetourProximityGrid.cpp \
src/Recast/RecastAlloc.cpp \
src/Recast/RecastRasterization.cpp \
src/Recast/RecastMeshDetail.cpp \
src/Recast/RecastMesh.cpp \
src/Recast/RecastLayers.cpp \
src/Recast/RecastFilter.cpp \
src/Recast/Recast.cpp \
src/Recast/RecastContour.cpp \
src/Recast/RecastArea.cpp \
src/Recast/RecastRegion.cpp \
src/OgreDetourCrowd.cpp \
src/Character.cpp \
src/TestCharacter.cpp \
src/AnimateableCharacter.cpp \
src/DetourTileCache/DetourTileCacheBuilder.cpp \
src/DetourTileCache/DetourTileCache.cpp \
src/OgreDetourTileCache.cpp \
src/RecastContrib/fastlz/fastlz.c \
src/RecastInputGeom.cpp \
src/RecastConvexHull.cpp \
src/Obstacle.cpp \
src/CylinderObstacle.cpp \
src/ConvexShapeObstacle.cpp \
Samples/src/OgreRecastTerrainApplication.cpp \
Samples/src/SettingsFileParser.cpp \
Samples/src/OgreRecastPagedCrowdApplication.cpp \
src/OgreRecastNavmeshPruner.cpp \
src/InstancedCharacter.cpp \
src/CrowdManager.cpp
HEADERS += Samples/include/BaseApplication.h \
Samples/include/OgreRecastApplication.h \
include/OgreRecastDefinitions.h \
include/OgreRecast.h \
include/Detour/DetourCommon.h \
include/Detour/DetourAlloc.h \
include/Detour/DetourNode.h \
include/Detour/DetourNavMeshQuery.h \
include/Detour/DetourNavMesh.h \
include/Detour/DetourNavMeshBuilder.h \
include/Detour/DetourCommon.h \
include/Detour/DetourAssert.h \
include/Detour/DetourStatus.h \
include/Recast/RecastAlloc.h \
include/Recast/RecastAssert.h \
include/Recast/Recast.h \
include/DetourCrowd/DetourCrowd.h \
include/DetourCrowd/DetourPathQueue.h \
include/DetourCrowd/DetourPathCorridor.h \
include/DetourCrowd/DetourObstacleAvoidance.h \
include/DetourCrowd/DetourLocalBoundary.h \
include/DetourCrowd/DetourProximityGrid.h \
include/OgreDetourCrowd.h \
include/Character.h \
include/TestCharacter.h \
include/AnimateableCharacter.h \
include/DetourTileCache/DetourTileCacheBuilder.h \
include/DetourTileCache/DetourTileCache.h \
include/OgreDetourTileCache.h \
include/RecastContrib/fastlz/fastlz.h \
include/RecastInputGeom.h \
include/RecastConvexHull.h \
include/Obstacle.h \
include/CylinderObstacle.h \
include/ConvexShapeObstacle.h \
Samples/include/OgreRecastTerrainApplication.h \
Samples/include/SettingsFileParser.h \
Samples/include/OgreRecastPagedCrowdApplication.h \
include/OgreRecastNavmeshPruner.h \
include/InstancedCharacter.h \
include/CrowdManager.h