
* Build with cmake in appveyor * Install content files and tests binary to bin * Install SDL2.dll on windows * Build RecastDemo as GUI application on Windows and Mac OS * Copy SDL2.dll to current binary dir
13 lines
376 B
CMake
13 lines
376 B
CMake
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)
|
|
|
|
install(TARGETS Tests RUNTIME DESTINATION bin)
|