Descent3/linux/CMakeLists.txt

30 lines
444 B
CMake
Raw Normal View History

set(HEADERS
linux_fix.h
lnxapp.h
lnxcontroller.h
registry.h)
set(CPPS
2024-04-16 03:43:29 +00:00
lnxcon.cpp
lnxcon_raw.cpp
2024-05-18 23:31:50 +00:00
lnxcontroller.cpp
2024-04-16 03:43:29 +00:00
lnxapp.cpp
lnxcon_null.cpp
lnxdata.cpp
2024-05-18 23:31:50 +00:00
registry.cpp
)
add_library(linux STATIC ${HEADERS} ${CPPS})
2024-05-18 23:31:50 +00:00
target_link_libraries(linux PRIVATE
cfile
)
target_include_directories(linux PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/linux
>
)
target_link_libraries(linux PRIVATE
2024-05-22 21:59:23 +00:00
ddio
misc
SDL2::SDL2
)