9
3

CMakeLists.txt 625 B

123456789101112131415161718192021222324252627
  1. cmake_minimum_required(VERSION 3.0)
  2. project(RecastNavigation)
  3. # lib versions
  4. SET(SOVERSION 1)
  5. SET(VERSION 1.0.0)
  6. option(RECASTNAVIGATION_DEMO "Build demo" ON)
  7. option(RECASTNAVIGATION_TESTS "Build tests" ON)
  8. option(RECASTNAVIGATION_EXAMPLES "Build examples" ON)
  9. option(RECASTNAVIGATION_STATIC "Build static libraries" ON)
  10. add_subdirectory(DebugUtils)
  11. add_subdirectory(Detour)
  12. add_subdirectory(DetourCrowd)
  13. add_subdirectory(DetourTileCache)
  14. add_subdirectory(Recast)
  15. if (RECASTNAVIGATION_DEMO)
  16. add_subdirectory(RecastDemo)
  17. endif ()
  18. if (RECASTNAVIGATION_TESTS)
  19. enable_testing()
  20. add_subdirectory(Tests)
  21. endif ()