Files
vpp/src/vat/CMakeLists.txt
Neale Ranns 3a6adc52fe geneve: Move to plugin
Type: refactor

Change-Id: I613bf4d6517591351b212bfe6c8d93abf235f5dc
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-09-21 17:04:13 +00:00

72 lines
2.1 KiB
CMake

# Copyright (c) 2018 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.
##############################################################################
# vat plugin shared library
##############################################################################
add_vpp_library(vatplugin
SOURCES plugin_api.c
LINK_LIBRARIES vppinfra
)
##############################################################################
# vpp_api_test
##############################################################################
add_vpp_executable(vpp_api_test ENABLE_EXPORTS
SOURCES
api_format.c
main.c
plugin.c
json_format.c
types.c
ip_types_api.c
ip_types.c
protocols.def
../vnet/arp/arp_test.c
DEPENDS api_headers
LINK_LIBRARIES
vlibmemoryclient
svm
vatplugin
vppinfra
Threads::Threads
rt m dl crypto
)
##############################################################################
# vpp_json_test
##############################################################################
add_vpp_executable(vpp_json_test ENABLE_EXPORTS NO_INSTALL
SOURCES json_format.c json_test.c
LINK_LIBRARIES vppinfra m
)
##############################################################################
# vat headers
##############################################################################
install(
FILES vat.h json_format.h
DESTINATION include/vat
COMPONENT vpp-dev
)
##############################################################################
# restart
##############################################################################
add_vpp_executable(vpp_restart
SOURCES restart.c
LINK_LIBRARIES svm svmdb vppinfra Threads::Threads rt
)