2021-09-07 04:50:35 -03:00
|
|
|
set(VERSION 0.0.1)
|
|
|
|
|
|
2021-09-06 18:18:47 -03:00
|
|
|
# config.h checks
|
|
|
|
|
include(ConfigureChecks.cmake)
|
|
|
|
|
configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
|
|
|
|
|
2021-08-29 21:00:43 -03:00
|
|
|
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-09-09 10:08:30 -03:00
|
|
|
src/generic.c
|
|
|
|
|
src/utils.c)
|
2021-08-29 21:00:43 -03:00
|
|
|
|
|
|
|
|
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-09-09 10:08:30 -03:00
|
|
|
include/generic.h
|
|
|
|
|
src/utils.c)
|
2021-08-29 21:00:43 -03:00
|
|
|
|
2021-09-06 18:18:47 -03:00
|
|
|
find_package(libwebsockets CONFIG REQUIRED)
|
2021-08-29 21:00:43 -03:00
|
|
|
find_package(yaml CONFIG REQUIRED)
|