-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
46 lines (35 loc) · 1.06 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
cmake_minimum_required(VERSION 3.15)
project(c_k8s)
set(CMAKE_CXX_STANDARD 14)
include_directories(.)
add_subdirectory(utils/cJSON)
add_subdirectory(utils/unix-socket)
add_executable(apiServer
apiServer.c http/http.h http/http.c)
#add_executable(server server.c)
#
#add_executable(client client.c)
#test
add_executable(test_http
http/test_http.c http/http.h http/http.c
http/httpClient.h http/httpClient.c)
add_executable(test_etcdClient
etcd-client/test_etcdClient.c
etcd-client/etcdClient.c
etcd-client/etcdClient.h
http/http.h
http/http.c
utils/cJSON/cJSON.h
utils/cJSON/cJSON.c)
add_executable(test_client
utils/unix-socket/client.h
utils/unix-socket/test_client.c
utils/unix-socket/client.c)
add_executable(test_server
utils/unix-socket/server.h
utils/unix-socket/test_server.c
utils/unix-socket/server.c)
add_executable(test_docker_client
docker-client/client.h
docker-client/client.c
docker-client/test_client.c)