mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
25 lines
505 B
CMake
25 lines
505 B
CMake
project(TactilityCoreTests)
|
|
|
|
enable_language(C CXX ASM)
|
|
|
|
set(CMAKE_CXX_COMPILER g++)
|
|
|
|
file(GLOB_RECURSE TEST_SOURCES ${PROJECT_SOURCE_DIR}/*.cpp)
|
|
add_executable(TactilityCoreTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
|
|
|
add_definitions(-D_Nullable=)
|
|
add_definitions(-D_Nonnull=)
|
|
|
|
target_include_directories(TactilityCoreTests PRIVATE
|
|
${DOCTESTINC}
|
|
)
|
|
|
|
add_test(NAME TactilityCoreTests
|
|
COMMAND TactilityCoreTests
|
|
)
|
|
|
|
target_link_libraries(TactilityCoreTests PUBLIC
|
|
TactilityCore
|
|
freertos_kernel
|
|
)
|