mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
8ef90fb504
Added cpack to create debian and source packages. There are 3 packages: webfuse-VERSION-Source.tar.gz: packaged sources webfuse_VERSION_ARCH.deb: install webfuse libraries webfuse-dev_VERSION_ARCH.deb: install headers, depends on libraries
19 lines
562 B
CMake
19 lines
562 B
CMake
# libwebfuse-core
|
|
|
|
add_library(webfuse-core STATIC
|
|
lib/webfuse/core/slist.c
|
|
lib/webfuse/core/message.c
|
|
lib/webfuse/core/message_queue.c
|
|
lib/webfuse/core/status.c
|
|
lib/webfuse/core/string.c
|
|
lib/webfuse/core/path.c
|
|
lib/webfuse/core/base64.c
|
|
lib/webfuse/core/lws_log.c
|
|
)
|
|
|
|
set_target_properties(webfuse-core PROPERTIES OUTPUT_NAME webfuse-core)
|
|
target_include_directories(webfuse-core PUBLIC lib)
|
|
set_target_properties(webfuse-core PROPERTIES C_VISIBILITY_PRESET hidden)
|
|
|
|
install(DIRECTORY include/webfuse/core DESTINATION include/webfuse COMPONENT headers)
|