2025-07-17 18:12:16 +01:00
|
|
|
file(GLOB sources *.c include/ropkg/*.h)
|
|
|
|
|
|
|
|
|
|
add_library(libropkg SHARED ${sources})
|
|
|
|
|
|
|
|
|
|
set_target_properties(libropkg PROPERTIES
|
|
|
|
|
OUTPUT_NAME ropkg)
|
|
|
|
|
target_link_libraries(libropkg
|
2026-06-22 17:45:54 +01:00
|
|
|
FX::Runtime
|
|
|
|
|
FX::Io
|
|
|
|
|
FX::Compression
|
|
|
|
|
SQLite3::SQLite3)
|
2025-07-17 18:12:16 +01:00
|
|
|
target_include_directories(libropkg PUBLIC
|
2025-08-06 22:08:52 +01:00
|
|
|
include/)
|
2025-07-17 18:12:16 +01:00
|
|
|
target_compile_definitions(libropkg PRIVATE
|
|
|
|
|
LIBROPKG_EXPORT=1
|
|
|
|
|
LIBROPKG_STATIC=0)
|
2026-06-22 17:45:54 +01:00
|
|
|
|