Files
tactility/Devices/simulator/CMakeLists.txt
T
Ken Van Hoeylandt 19b11eb9a8 Remove TactilityC and Firmware subprojects (#638)
- Removed TactilityC, moved its symbols to existing modules and several new ones (pthread-module, c-symbols-module, cpp-symbols-module, posix-symbols-module, freertos-module).
- Removed Firmware subproject and moved main() into Tactility subproject.
- Strengthened application archive, path, version, stack-size, and device validation.
- Moved symbol resolution for elf_loader to app-esp32-module.
- Improved `struct Module` declarations and made module and symbol definitions in modules more consistent.
- Removed old http download code from Tactility subproject.
- Rename app-module's source files for consistency.
- Add missing pthread symbols.
- Kernel module symbols are now resolvable on all platforms.
2026-08-29 21:06:43 +02:00

25 lines
522 B
CMake

cmake_minimum_required(VERSION 3.20)
if (NOT DEFINED ENV{ESP_IDF_VERSION})
file(GLOB_RECURSE SOURCES "Source/*.c*")
file(GLOB_RECURSE HEADERS "Source/*.h*")
add_library(simulator OBJECT)
target_sources(simulator
PRIVATE ${SOURCES}
PUBLIC ${HEADERS}
)
target_link_libraries(simulator
PRIVATE TactilityKernel
PRIVATE TactilityFreeRtos
PRIVATE lvgl
PRIVATE SDL2-static
)
target_link_libraries(simulator PRIVATE ${SDL2_LIBRARIES})
endif()