3fe1dc0312
* **New Features** * Added a HAL device module providing device enumeration, type queries and a HAL↔kernel bridge. * **Improvements** * Integrated HAL module into startup; standardized module names, includes and lifecycle logging; safer file append behavior; broader build support. * **API Changes** * Driver lifecycle now uses explicit add/remove semantics; C and HAL device type/lookup APIs clarified. * **Chores** * Added module README and Apache‑2.0 license; updated build configuration to include the new module. * **Fixes** * Updated tests and object file handling to behave correctly.
30 lines
581 B
CMake
30 lines
581 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(TactilityTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
|
|
|
add_definitions(-D_Nullable=)
|
|
add_definitions(-D_Nonnull=)
|
|
|
|
target_include_directories(TactilityTests PRIVATE
|
|
${DOCTESTINC}
|
|
)
|
|
|
|
add_test(NAME TactilityTests
|
|
COMMAND TactilityTests
|
|
)
|
|
|
|
target_link_libraries(TactilityTests PRIVATE
|
|
Tactility
|
|
TactilityCore
|
|
TactilityKernel
|
|
PlatformPosix
|
|
hal-device
|
|
Simulator
|
|
SDL2::SDL2-static SDL2-static
|
|
)
|