cca7224252
PR #550 moved TestFile.h from Tests/TactilityCore to Tests/Tactility, but AppManifestParsingTest.cpp and PropertiesFileTest.cpp still include the old path, so the test build fails on main.
23 lines
504 B
CMake
23 lines
504 B
CMake
project(TactilityTests)
|
|
|
|
enable_language(C CXX ASM)
|
|
|
|
|
|
file(GLOB_RECURSE TEST_SOURCES ${PROJECT_SOURCE_DIR}/Source/*.cpp)
|
|
add_executable(TactilityTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
|
|
|
target_include_directories(TactilityTests PRIVATE ${DOCTESTINC})
|
|
|
|
add_test(NAME TactilityTests COMMAND TactilityTests)
|
|
|
|
target_link_libraries(TactilityTests PRIVATE
|
|
Tactility
|
|
TactilityKernel
|
|
platform-posix
|
|
hal-device-module
|
|
lvgl-module
|
|
crypt-module
|
|
lvgl
|
|
SDL2::SDL2-static SDL2-static
|
|
)
|