blob: 5d3eac20d293f9b07e34890140ea3e93ff335df4 [file] [log] [blame]
Alexandre Huffb86721b2021-05-28 13:32:02 -03001# ==================================================================================
2# Copyright (c) 2021 AT&T Intellectual Property.
3# Copyright (c) 2021 Alexandre Huff.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ==================================================================================
17#
Alexandre Huffb86721b2021-05-28 13:32:02 -030018# Date: 20 May 2021
19# Author: Alexandre Huff
20
21
22cmake_minimum_required(VERSION 3.14)
Alexandre Huff05b94382021-12-09 00:29:05 -030023project(test_apps)
Alexandre Huffb86721b2021-05-28 13:32:02 -030024set(CMAKE_CXX_STANDARD 11)
25
26add_executable(
27 ad_xapp
28 ad_xapp.cpp
29)
30target_link_libraries(
31 ad_xapp
32 ricxfcpp
33 rmr_si
34 pthread
35 curl
36)
37
38add_executable(
39 qp_xapp
40 qp_xapp.cpp
41)
42target_link_libraries(
43 qp_xapp
44 ricxfcpp
45 rmr_si
46 pthread
47 curl
48)
Alexandre Huff05b94382021-12-09 00:29:05 -030049
50find_package(Protobuf REQUIRED)
51add_subdirectory(${CMAKE_SOURCE_DIR}/../../ext/protobuf EXCLUDED_FROM_ALL)
52add_executable(
53 rc_xapp
54 rc_xapp.cpp
55)
56target_link_libraries(
57 rc_xapp
58 rc-api
59 grpc++
60 ${Protobuf_LIBRARY}
61)