- Added `tt::hal::Device` and functions (de)register devices and search for them. - Refactored apps: `Power` and `Display` settings apps now use the device API to find devices. - Implemented the new API for all existing drivers for all devices, including the simulator. - Updated HAL Configuration to return `std::shared_ptr` instead of raw pointers. - Added test project for headless tests and implemented tests for the new code.
12 lines
282 B
CMake
12 lines
282 B
CMake
project(tests)
|
|
|
|
set(DOCTESTINC ${PROJECT_SOURCE_DIR}/Include)
|
|
|
|
enable_testing()
|
|
add_subdirectory(TactilityCore)
|
|
add_subdirectory(TactilityHeadless)
|
|
|
|
add_custom_target(build-tests)
|
|
add_dependencies(build-tests TactilityCoreTests)
|
|
add_dependencies(build-tests TactilityHeadlessTests)
|