forked from external/yambar
particle/dynlist: compile as a shared library
This commit is contained in:
parent
1cce649f06
commit
2f83ed1fc3
3 changed files with 7 additions and 4 deletions
|
@ -4,6 +4,9 @@ add_library(particle-sdk INTERFACE)
|
|||
target_compile_options(particle-sdk INTERFACE ${CAIRO_CFLAGS_OTHER})
|
||||
target_include_directories(particle-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
||||
|
||||
add_library(dynlist SHARED dynlist.c dynlist.h)
|
||||
target_link_libraries(dynlist particle-sdk)
|
||||
|
||||
set(CMAKE_SHARED_MODULE_PREFIX particle_)
|
||||
|
||||
add_library(empty MODULE empty.c)
|
||||
|
@ -33,4 +36,6 @@ install(
|
|||
ramp
|
||||
string
|
||||
|
||||
dynlist
|
||||
|
||||
DESTINATION lib/f00bar)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue