blob: 690267c6113a845c5139434416895cb18d6be5d6 [file] [log] [blame]
Ole Troandf87f802020-11-18 19:17:48 +01001# Copyright (c) 2020 Cisco and/or its affiliates.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at:
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14##############################################################################
15# vat2
16##############################################################################
17add_vpp_executable(vat2 ENABLE_EXPORTS NO_INSTALL
18 SOURCES
19 main.c
20 plugin.c
21 jsonconvert.c
22
23 DEPENDS api_headers
24
25 LINK_LIBRARIES
26 vlibmemoryclient
27 svm
28 vppinfra
29 vppapiclient
30 Threads::Threads
31 rt m dl crypto
32)
33
34##############################################################################
35# vat2 headers
36##############################################################################
37install(
38 FILES
39 jsonconvert.h
40 vat2_helpers.h
41 DESTINATION include/vat2
42 COMPONENT vpp-dev
43)