Skip to content

Commit 6569727

Browse files
committed
Merge pull request #148 from super626/v3
Add recast lib for navigation
2 parents ec0ca92 + e7c0b7c commit 6569727

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+30095
-0
lines changed

recast/Android.mk

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
LOCAL_PATH := $(call my-dir)
2+
3+
include $(CLEAR_VARS)
4+
5+
LOCAL_MODULE := recast_static
6+
7+
LOCAL_MODULE_FILENAME := librecast
8+
9+
LOCAL_SRC_FILES := \
10+
DebugUtils/DebugDraw.cpp \
11+
DebugUtils/DetourDebugDraw.cpp \
12+
Detour/DetourAlloc.cpp \
13+
Detour/DetourCommon.cpp \
14+
Detour/DetourNavMesh.cpp \
15+
Detour/DetourNavMeshBuilder.cpp \
16+
Detour/DetourNavMeshQuery.cpp \
17+
Detour/DetourNode.cpp \
18+
DetourCrowd/DetourCrowd.cpp \
19+
DetourCrowd/DetourLocalBoundary.cpp \
20+
DetourCrowd/DetourObstacleAvoidance.cpp \
21+
DetourCrowd/DetourPathCorridor.cpp \
22+
DetourCrowd/DetourPathQueue.cpp \
23+
DetourCrowd/DetourProximityGrid.cpp \
24+
DetourTileCache/DetourTileCache.cpp \
25+
DetourTileCache/DetourTileCacheBuilder.cpp \
26+
fastlz/fastlz.c
27+
28+
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/..
29+
30+
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
31+
32+
include $(BUILD_STATIC_LIBRARY)

recast/CMakeLists.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
set(RECAST_SRC
2+
DebugUtils/DebugDraw.cpp
3+
DebugUtils/DetourDebugDraw.cpp
4+
Detour/DetourAlloc.cpp
5+
Detour/DetourCommon.cpp
6+
Detour/DetourNavMesh.cpp
7+
Detour/DetourNavMeshBuilder.cpp
8+
Detour/DetourNavMeshQuery.cpp
9+
Detour/DetourNode.cpp
10+
DetourCrowd/DetourCrowd.cpp
11+
DetourCrowd/DetourLocalBoundary.cpp
12+
DetourCrowd/DetourObstacleAvoidance.cpp
13+
DetourCrowd/DetourPathCorridor.cpp
14+
DetourCrowd/DetourPathQueue.cpp
15+
DetourCrowd/DetourProximityGrid.cpp
16+
DetourTileCache/DetourTileCache.cpp
17+
DetourTileCache/DetourTileCacheBuilder.cpp
18+
fastlz/fastlz.c
19+
)
20+
21+
include_directories(
22+
..
23+
)
24+
25+
add_library(recast STATIC
26+
${RECAST_SRC}
27+
)
28+
29+
set_target_properties(recast
30+
PROPERTIES
31+
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
32+
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
33+
)

0 commit comments

Comments
 (0)