light/modules/surface/CMakeLists.txt
light7734 63cb6dfe92
Some checks are pending
continuous-integration/drone/push Build is running
wip: convert from include style to module import style :D
2025-11-04 18:50:59 +03:30

37 lines
722 B
CMake

if(NOT WIN32)
add_library_module(
NAME
surface
INTERFACES
system.cppm
requests.cppm
events.cppm
components.cppm
SOURCES
platform_linux.cpp)
target_link_libraries(surface PRIVATE X11)
else(WIN32)
add_library_module(
NAME
surface
INTERFACES
system.cppm
requests.cppm
system.cppm
requests.cppm
events.cppm
components.cppm
SOURCES
platform_windows.cpp)
endif()
target_link_libraries(
surface
PUBLIC ecs app math memory tbb
PRIVATE logger lt_debug time)
add_test_module(surface system.test.cpp)
# add_fuzz_module(surface system.fuzz.cpp)