15 lines
346 B
CMake
15 lines
346 B
CMake
file(GLOB sources *.c include/ropkg/*.h)
|
|
|
|
add_library(libropkg SHARED ${sources})
|
|
|
|
set_target_properties(libropkg PROPERTIES
|
|
OUTPUT_NAME ropkg)
|
|
target_link_libraries(libropkg
|
|
Bluelib::Io
|
|
Bluelib::Compress)
|
|
target_include_directories(libropkg PUBLIC
|
|
include/)
|
|
target_compile_definitions(libropkg PRIVATE
|
|
LIBROPKG_EXPORT=1
|
|
LIBROPKG_STATIC=0)
|