forked from external/yambar
decorations: are now plugins
This commit is contained in:
parent
4eee71eaf4
commit
7754ef3661
11 changed files with 160 additions and 124 deletions
24
decorations/CMakeLists.txt
Normal file
24
decorations/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
add_library(decoration-sdk INTERFACE)
|
||||
target_compile_options(decoration-sdk INTERFACE ${CAIRO_CFLAGS_OTHER})
|
||||
target_include_directories(decoration-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
||||
|
||||
set(CMAKE_SHARED_MODULE_PREFIX decoration_)
|
||||
|
||||
add_library(background MODULE background.c background.h)
|
||||
target_link_libraries(background decoration-sdk)
|
||||
|
||||
add_library(stack MODULE stack.c stack.h)
|
||||
target_link_libraries(stack decoration-sdk)
|
||||
|
||||
add_library(underline MODULE underline.c underline.h)
|
||||
target_link_libraries(underline decoration-sdk)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
background
|
||||
stack
|
||||
underline
|
||||
|
||||
DESTINATION lib/f00bar)
|
Loading…
Add table
Add a link
Reference in a new issue