2021-11-10 16:39:59 +08:00
|
|
|
set(PROJECT_VERSION_MAJOR 0)
|
2022-06-05 18:16:17 +00:00
|
|
|
set(PROJECT_VERSION_MINOR 4)
|
2022-04-12 21:19:56 +08:00
|
|
|
set(PROJECT_VERSION_PATCH 0)
|
2021-11-10 16:39:59 +08:00
|
|
|
|
|
|
|
|
set(PROJECT_PACKAGE_DESCRIPTION_SUMMARY "The Kubernetes client library for the C programming language.")
|
|
|
|
|
set(PROJECT_PACKAGE_VENDOR "https://github.com/kubernetes-client")
|
|
|
|
|
set(PROJECT_PACKAGE_CONTACT "https://github.com/kubernetes-client/c")
|
|
|
|
|
set(PROJECT_PACKAGE_MAINTAINER "https://github.com/kubernetes-client/c")
|
|
|
|
|
|
|
|
|
|
# config.h checks
|
|
|
|
|
include(ConfigureChecks.cmake)
|
|
|
|
|
configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
|
|
|
|
|
|
|
|
|
list(APPEND SRCS
|
|
|
|
|
config/kube_config_model.c
|
|
|
|
|
config/kube_config_yaml.c
|
|
|
|
|
config/kube_config_util.c
|
|
|
|
|
config/kube_config.c
|
|
|
|
|
config/incluster_config.c
|
|
|
|
|
config/exec_provider.c
|
|
|
|
|
config/authn_plugin/authn_plugin_util.c
|
|
|
|
|
config/authn_plugin/authn_plugin.c
|
|
|
|
|
watch/watch_util.c
|
|
|
|
|
websocket/wsclient.c
|
|
|
|
|
websocket/kube_exec.c
|
2021-11-30 16:20:12 +08:00
|
|
|
model/int_or_string.c
|
2021-11-10 16:39:59 +08:00
|
|
|
src/generic.c
|
|
|
|
|
src/utils.c)
|
|
|
|
|
|
|
|
|
|
list(APPEND HDRS
|
|
|
|
|
config/kube_config_common.h
|
|
|
|
|
config/kube_config_model.h
|
|
|
|
|
config/kube_config_yaml.h
|
|
|
|
|
config/kube_config_util.h
|
|
|
|
|
config/kube_config.h
|
|
|
|
|
config/incluster_config.h
|
|
|
|
|
config/exec_provider.h
|
|
|
|
|
config/authn_plugin/authn_plugin_util.h
|
|
|
|
|
config/authn_plugin/authn_plugin.h
|
|
|
|
|
watch/watch_util.h
|
|
|
|
|
websocket/wsclient.h
|
|
|
|
|
websocket/kube_exec.h
|
2021-11-30 16:20:12 +08:00
|
|
|
model/int_or_string.h
|
2021-11-10 16:39:59 +08:00
|
|
|
include/generic.h
|
|
|
|
|
include/utils.h)
|
|
|
|
|
|
|
|
|
|
find_package(libwebsockets CONFIG REQUIRED)
|
2021-08-29 21:00:43 -03:00
|
|
|
find_package(yaml CONFIG REQUIRED)
|