mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 04:25:42 +02:00
36 lines
832 B
CMake
36 lines
832 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
add_library(particle-sdk INTERFACE)
|
|
target_compile_options(particle-sdk INTERFACE ${CAIRO_CFLAGS_OTHER})
|
|
target_include_directories(particle-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
|
|
|
set(CMAKE_SHARED_MODULE_PREFIX particle_)
|
|
|
|
add_library(empty MODULE empty.c)
|
|
target_link_libraries(empty particle-sdk)
|
|
|
|
add_library(list MODULE list.c)
|
|
target_link_libraries(list particle-sdk)
|
|
|
|
add_library(map MODULE map.c)
|
|
target_link_libraries(map particle-sdk)
|
|
|
|
add_library(progress-bar MODULE progress-bar.c)
|
|
target_link_libraries(progress-bar particle-sdk)
|
|
|
|
add_library(ramp MODULE ramp.c)
|
|
target_link_libraries(ramp particle-sdk)
|
|
|
|
add_library(string MODULE string.c)
|
|
target_link_libraries(string particle-sdk)
|
|
|
|
install(
|
|
TARGETS
|
|
empty
|
|
list
|
|
map
|
|
progress-bar
|
|
ramp
|
|
string
|
|
|
|
DESTINATION lib/f00bar)
|