mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
60c5dbf1fe
This can help with CMake IDE integration and file indexing.
30 lines
444 B
CMake
30 lines
444 B
CMake
set(HEADERS
|
|
linux_fix.h
|
|
lnxapp.h
|
|
lnxcontroller.h
|
|
registry.h)
|
|
set(CPPS
|
|
lnxcon.cpp
|
|
lnxcon_raw.cpp
|
|
lnxcontroller.cpp
|
|
lnxapp.cpp
|
|
lnxcon_null.cpp
|
|
lnxdata.cpp
|
|
registry.cpp
|
|
)
|
|
|
|
add_library(linux STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(linux PRIVATE
|
|
cfile
|
|
)
|
|
target_include_directories(linux PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/linux
|
|
>
|
|
)
|
|
target_link_libraries(linux PRIVATE
|
|
ddio
|
|
misc
|
|
SDL2::SDL2
|
|
)
|