18 lines
371 B
CMake
18 lines
371 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
|
|
FX::Runtime
|
|
FX::Io
|
|
FX::Compression
|
|
SQLite3::SQLite3)
|
|
target_include_directories(libropkg PUBLIC
|
|
include/)
|
|
target_compile_definitions(libropkg PRIVATE
|
|
LIBROPKG_EXPORT=1
|
|
LIBROPKG_STATIC=0)
|
|
|