blob: 1d7dc03e92bad213f2d49b7bcac7d6f7b04cc93d (
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
|
# 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}/connectionManager.h
${CMAKE_CURRENT_SOURCE_DIR}/ticks.h
${CMAKE_CURRENT_SOURCE_DIR}/connectionList.h
${CMAKE_CURRENT_SOURCE_DIR}/connectionTable.h
${CMAKE_CURRENT_SOURCE_DIR}/connection.h
${CMAKE_CURRENT_SOURCE_DIR}/forwarder.h
${CMAKE_CURRENT_SOURCE_DIR}/logger.h
${CMAKE_CURRENT_SOURCE_DIR}/dispatcher.h
${CMAKE_CURRENT_SOURCE_DIR}/message.h
${CMAKE_CURRENT_SOURCE_DIR}/messagePacketType.h
${CMAKE_CURRENT_SOURCE_DIR}/numberSet.h
${CMAKE_CURRENT_SOURCE_DIR}/streamBuffer.h
${CMAKE_CURRENT_SOURCE_DIR}/system.h
${CMAKE_CURRENT_SOURCE_DIR}/mapMe.h
${CMAKE_CURRENT_SOURCE_DIR}/wldr.h
${CMAKE_CURRENT_SOURCE_DIR}/messageHandler.h
${CMAKE_CURRENT_SOURCE_DIR}/nameBitvector.h
${CMAKE_CURRENT_SOURCE_DIR}/name.h
)
list(APPEND SOURCE_FILES
${CMAKE_CURRENT_SOURCE_DIR}/connection.c
${CMAKE_CURRENT_SOURCE_DIR}/connectionList.c
${CMAKE_CURRENT_SOURCE_DIR}/connectionManager.c
${CMAKE_CURRENT_SOURCE_DIR}/connectionTable.c
${CMAKE_CURRENT_SOURCE_DIR}/dispatcher.c
${CMAKE_CURRENT_SOURCE_DIR}/forwarder.c
${CMAKE_CURRENT_SOURCE_DIR}/logger.c
${CMAKE_CURRENT_SOURCE_DIR}/message.c
${CMAKE_CURRENT_SOURCE_DIR}/numberSet.c
${CMAKE_CURRENT_SOURCE_DIR}/streamBuffer.c
${CMAKE_CURRENT_SOURCE_DIR}/mapMe.c
${CMAKE_CURRENT_SOURCE_DIR}/wldr.c
${CMAKE_CURRENT_SOURCE_DIR}/nameBitvector.c
${CMAKE_CURRENT_SOURCE_DIR}/name.c
)
set(SOURCE_FILES ${SOURCE_FILES} PARENT_SCOPE)
set(HEADER_FILES ${HEADER_FILES} PARENT_SCOPE)
|