You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
625 B
CMake
28 lines
625 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
project(RecastNavigation)
|
|
|
|
# lib versions
|
|
SET(SOVERSION 1)
|
|
SET(VERSION 1.0.0)
|
|
|
|
option(RECASTNAVIGATION_DEMO "Build demo" ON)
|
|
option(RECASTNAVIGATION_TESTS "Build tests" ON)
|
|
option(RECASTNAVIGATION_EXAMPLES "Build examples" ON)
|
|
option(RECASTNAVIGATION_STATIC "Build static libraries" ON)
|
|
|
|
add_subdirectory(DebugUtils)
|
|
add_subdirectory(Detour)
|
|
add_subdirectory(DetourCrowd)
|
|
add_subdirectory(DetourTileCache)
|
|
add_subdirectory(Recast)
|
|
|
|
if (RECASTNAVIGATION_DEMO)
|
|
add_subdirectory(RecastDemo)
|
|
endif ()
|
|
|
|
if (RECASTNAVIGATION_TESTS)
|
|
enable_testing()
|
|
add_subdirectory(Tests)
|
|
endif ()
|