Descent3/linux/CMakeLists.txt
Louis Gombert b33cc21dce
Merge pull request #587 from winterheart/module-fixes
Update module, add logger module
2024-09-18 22:18:13 +02:00

28 lines
401 B
CMake

set(HEADERS
lnxapp.h
registry.h)
set(CPPS
lnxcon.cpp
lnxcon_raw.cpp
lnxapp.cpp
lnxcon_null.cpp
lnxdata.cpp
registry.cpp
)
add_library(linux STATIC ${HEADERS} ${CPPS})
target_link_libraries(linux PRIVATE
cfile
logger
)
target_include_directories(linux PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/linux
>
)
target_link_libraries(linux PRIVATE
ddio
misc
SDL2::SDL2
)