aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/config/CMakeLists.txt
blob: 5ce680bfc17b12993f775c088871441a19d28839 (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Copyright (c) 2017-2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

list(APPEND HEADER_FILES
  ${CMAKE_CURRENT_SOURCE_DIR}/commandOps.h
  ${CMAKE_CURRENT_SOURCE_DIR}/commandParser.h
  ${CMAKE_CURRENT_SOURCE_DIR}/configuration.h
  ${CMAKE_CURRENT_SOURCE_DIR}/commandReturn.h
  ${CMAKE_CURRENT_SOURCE_DIR}/symbolicNameTable.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlState.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRoot.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddConnection.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAdd.h
  ${CMAKE_CURRENT_SOURCE_DIR}/configurationFile.h
  ${CMAKE_CURRENT_SOURCE_DIR}/configurationListeners.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddRoute.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddListener.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlListConnections.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlList.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlListListeners.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlListRoutes.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlQuit.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemove.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemoveConnection.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemoveRoute.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSet.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlUnset.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSetDebug.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlUnsetDebug.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMe.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMeEnable.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMeDiscovery.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMeTimescale.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCacheServe.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCacheStore.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCacheClear.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCache.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSetStrategy.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSetWldr.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddPunting.h
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemovePunting.h
)

list(APPEND SOURCE_FILES
  ${CMAKE_CURRENT_SOURCE_DIR}/commandOps.c
  ${CMAKE_CURRENT_SOURCE_DIR}/commandParser.c
  ${CMAKE_CURRENT_SOURCE_DIR}/configuration.c
  ${CMAKE_CURRENT_SOURCE_DIR}/configurationFile.c
  ${CMAKE_CURRENT_SOURCE_DIR}/configurationListeners.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlState.c
  ${CMAKE_CURRENT_SOURCE_DIR}/symbolicNameTable.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAdd.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddConnection.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddRoute.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddListener.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlList.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlListConnections.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlListListeners.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlListRoutes.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlQuit.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemove.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemoveConnection.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemoveRoute.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRoot.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSet.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSetDebug.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlUnset.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlUnsetDebug.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMe.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMeEnable.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMeDiscovery.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMeTimescale.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlMapMeRetx.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCacheServe.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCacheStore.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCacheClear.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlCache.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSetStrategy.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlSetWldr.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlAddPunting.c
  ${CMAKE_CURRENT_SOURCE_DIR}/controlRemovePunting.c
)

set(SOURCE_FILES ${SOURCE_FILES} PARENT_SCOPE)
set(HEADER_FILES ${HEADER_FILES} PARENT_SCOPE)