mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
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 ()
|