summaryrefslogtreecommitdiffstats
path: root/extras/strongswan
AgeCommit message (Expand)AuthorFilesLines
2021-03-04misc: add ikev2 tests usecasesFilip Tehlar26-0/+640
id='n47' href='#n47'>47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
# 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

  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
)