mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
22 lines
473 B
CMake
22 lines
473 B
CMake
project(TactilityFreeRtosTests)
|
|
|
|
enable_language(C CXX ASM)
|
|
|
|
set(CMAKE_CXX_COMPILER g++)
|
|
|
|
file(GLOB_RECURSE TEST_SOURCES ${PROJECT_SOURCE_DIR}/*.cpp)
|
|
add_executable(TactilityFreeRtosTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
|
|
|
target_include_directories(TactilityFreeRtosTests PRIVATE
|
|
${DOCTESTINC}
|
|
)
|
|
|
|
add_test(NAME TactilityFreeRtosTests
|
|
COMMAND TactilityFreeRtosTests
|
|
)
|
|
|
|
target_link_libraries(TactilityFreeRtosTests PUBLIC
|
|
TactilityFreeRtos
|
|
freertos_kernel
|
|
)
|