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.
17 lines
427 B
CMake
17 lines
427 B
CMake
project(TactilityKernelTests)
|
|
|
|
enable_language(C CXX ASM)
|
|
|
|
|
|
file(GLOB_RECURSE TEST_SOURCES ${PROJECT_SOURCE_DIR}/Source/*.cpp)
|
|
add_executable(TactilityKernelTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
|
|
|
target_include_directories(TactilityKernelTests PRIVATE ${DOCTESTINC})
|
|
|
|
add_test(NAME TactilityKernelTests COMMAND TactilityKernelTests)
|
|
|
|
target_link_libraries(TactilityKernelTests PUBLIC
|
|
TactilityKernel
|
|
platform-posix
|
|
)
|