mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-22 18:25:38 +02:00
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,33 +0,0 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
add_library(particle-sdk INTERFACE)
|
||||
target_link_libraries(particle-sdk INTERFACE PkgConfig::cairo)
|
||||
|
||||
if (CORE_PLUGINS_AS_SHARED_LIBRARIES)
|
||||
set(lib_type MODULE)
|
||||
set(dynlist_lib_type SHARED)
|
||||
else ()
|
||||
set(lib_type STATIC)
|
||||
set(dynlist_lib_type STATIC)
|
||||
endif ()
|
||||
|
||||
# Only an exposable, not a particle. Used by a couple of modules
|
||||
add_library(dynlist ${dynlist_lib_type} dynlist.c dynlist.h)
|
||||
target_link_libraries(dynlist PRIVATE particle-sdk)
|
||||
|
||||
set(CMAKE_SHARED_MODULE_PREFIX particle_)
|
||||
|
||||
set(particles empty list map progress-bar ramp string)
|
||||
|
||||
foreach (particle ${particles})
|
||||
add_library(${particle} ${lib_type} ${particle}.c)
|
||||
target_link_libraries(${particle} particle-sdk)
|
||||
endforeach ()
|
||||
|
||||
target_link_libraries(string ${CAIRO_LIBRARIES})
|
||||
|
||||
if (CORE_PLUGINS_AS_SHARED_LIBRARIES)
|
||||
install(TARGETS ${particles} dynlist DESTINATION lib/f00bar)
|
||||
endif ()
|
||||
|
||||
set(enabled_particles "dynlist;${particles}" PARENT_SCOPE)
|
Loading…
Add table
Add a link
Reference in a new issue