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
|
2025-07-21 22:46:20 +01:00
|
|
|
Bluelib::Io
|
2025-08-06 22:08:52 +01:00
|
|
|
Bluelib::Compress)
|
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)
|