mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
822a411433
Inline the only usage of `loki_getprefpath()`, and use `Base_directory` (controlled by `-setdir`) instead of `loki_getdatapath()`. Inline or eliminate some other code that became empty/unused with loki removal.
25 lines
364 B
CMake
25 lines
364 B
CMake
set(CPPS
|
|
lnxcon.cpp
|
|
lnxcon_raw.cpp
|
|
lnxcontroller.cpp
|
|
lnxapp.cpp
|
|
lnxcon_null.cpp
|
|
lnxdata.cpp
|
|
registry.cpp
|
|
)
|
|
|
|
add_library(linux STATIC ${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
|
|
)
|