forked from external/yambar
cmake: remove build files (replaced with meson)
This commit is contained in:
parent
aa3e03355e
commit
ea9aea8daf
6 changed files with 0 additions and 387 deletions
|
@ -1,25 +0,0 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
add_library(decoration-sdk INTERFACE)
|
||||
target_link_libraries(decoration-sdk INTERFACE PkgConfig::cairo)
|
||||
|
||||
set(CMAKE_SHARED_MODULE_PREFIX decoration_)
|
||||
|
||||
set(decorations background stack underline)
|
||||
|
||||
if (CORE_PLUGINS_AS_SHARED_LIBRARIES)
|
||||
set(lib_type MODULE)
|
||||
else()
|
||||
set(lib_type STATIC)
|
||||
endif ()
|
||||
|
||||
foreach (deco ${decorations})
|
||||
add_library(${deco} ${lib_type} ${deco}.c)
|
||||
target_link_libraries(${deco} decoration-sdk)
|
||||
endforeach ()
|
||||
|
||||
if (CORE_PLUGINS_AS_SHARED_LIBRARIES)
|
||||
install(TARGETS ${decorations} DESTINATION lib/f00bar)
|
||||
endif ()
|
||||
|
||||
set(enabled_decorations ${decorations} PARENT_SCOPE)
|
Loading…
Add table
Add a link
Reference in a new issue