File: CMakeLists.txt

package info (click to toggle)
recastnavigation 1.5.1%2Bgit20210215.e75adf8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 3,964 kB
  • sloc: cpp: 41,226; ansic: 2,674; xml: 182; makefile: 21
file content (10 lines) | stat: -rw-r--r-- 328 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
file(GLOB TESTS_SOURCES *.cpp Detour/*.cpp Recast/*.cpp)

include_directories(../Detour/Include)
include_directories(../Recast/Include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})

add_executable(Tests ${TESTS_SOURCES})
add_dependencies(Tests Recast Detour)
target_link_libraries(Tests Recast Detour)
add_test(Tests Tests)