2024-08-09 15:00:30 +00:00
|
|
|
set(HEADERS
|
|
|
|
linux_fix.h
|
|
|
|
lnxapp.h
|
|
|
|
lnxcontroller.h
|
|
|
|
registry.h)
|
2024-04-20 12:35:20 +00:00
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2024-08-09 15:00:30 +00:00
|
|
|
add_library(linux STATIC ${HEADERS} ${CPPS})
|
2024-05-18 23:31:50 +00:00
|
|
|
target_link_libraries(linux PRIVATE
|
|
|
|
cfile
|
|
|
|
)
|
2024-05-18 23:48:26 +00:00
|
|
|
target_include_directories(linux PUBLIC
|
|
|
|
$<BUILD_INTERFACE:
|
|
|
|
${PROJECT_SOURCE_DIR}/linux
|
|
|
|
>
|
|
|
|
)
|
2024-05-22 09:33:33 +00:00
|
|
|
target_link_libraries(linux PRIVATE
|
2024-05-22 21:59:23 +00:00
|
|
|
ddio
|
2024-06-26 21:09:50 +00:00
|
|
|
misc
|
2024-07-10 04:30:32 +00:00
|
|
|
SDL2::SDL2
|
2024-05-22 09:33:33 +00:00
|
|
|
)
|