mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-17 23:55:04 +00:00
- Moved test projects to the parent project they belong to - Improved test stability/corectness - Improved recursive directory deletion by safely ignoring current- and parent-directory entries. - Update docs
20 lines
463 B
CMake
20 lines
463 B
CMake
project(AppModuleTests)
|
|
|
|
enable_language(C CXX ASM)
|
|
|
|
|
|
file(GLOB_RECURSE TEST_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/source/*.cpp)
|
|
add_executable(AppModuleTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
|
|
|
target_include_directories(AppModuleTests PRIVATE ${DOCTESTINC})
|
|
|
|
add_test(NAME AppModuleTests COMMAND AppModuleTests)
|
|
|
|
target_link_libraries(AppModuleTests PUBLIC
|
|
TactilityKernel
|
|
app-module
|
|
service-module
|
|
platform-posix
|
|
freertos_kernel
|
|
)
|