mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 20:35:42 +02:00
particle/dynlist: link particle-sdk PRIVATE:ly
This commit is contained in:
parent
2f83ed1fc3
commit
bc9c33c187
3 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ target_compile_options(particle-sdk INTERFACE ${CAIRO_CFLAGS_OTHER})
|
||||||
target_include_directories(particle-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
target_include_directories(particle-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
||||||
|
|
||||||
add_library(dynlist SHARED dynlist.c dynlist.h)
|
add_library(dynlist SHARED dynlist.c dynlist.h)
|
||||||
target_link_libraries(dynlist particle-sdk)
|
target_link_libraries(dynlist PRIVATE particle-sdk)
|
||||||
|
|
||||||
set(CMAKE_SHARED_MODULE_PREFIX particle_)
|
set(CMAKE_SHARED_MODULE_PREFIX particle_)
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#define LOG_MODULE "dynlist"
|
#define LOG_MODULE "dynlist"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
|
#include "../particle.h"
|
||||||
|
|
||||||
struct private {
|
struct private {
|
||||||
int left_spacing;
|
int left_spacing;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "../particle.h"
|
|
||||||
|
|
||||||
|
struct particle;
|
||||||
struct exposable *dynlist_exposable_new(
|
struct exposable *dynlist_exposable_new(
|
||||||
struct exposable **exposables, size_t count, int left_spacing, int right_spacing);
|
struct exposable **exposables, size_t count, int left_spacing, int right_spacing);
|
||||||
|
|
Loading…
Add table
Reference in a new issue