X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fapp%2FCMakeLists.txt;h=5d3eac20d293f9b07e34890140ea3e93ff335df4;hb=05b943879d8e01e5edf28db6ae1e2a8dceb9c46b;hp=ffd4cee26276f5f09dd4fd4ee27eb7db59bfbf5a;hpb=95e67b4fdf339209454b05fdd845ce299f78ae61;p=ric-app%2Fts.git diff --git a/test/app/CMakeLists.txt b/test/app/CMakeLists.txt index ffd4cee..5d3eac2 100644 --- a/test/app/CMakeLists.txt +++ b/test/app/CMakeLists.txt @@ -15,15 +15,12 @@ # limitations under the License. # ================================================================================== # -# Mnemonic: ad_xapp.cpp -# Abstract: Simulates the AD xApp sending an anomaly dectection message to -# the TS xApp. It sends one message and exits. -# # Date: 20 May 2021 # Author: Alexandre Huff cmake_minimum_required(VERSION 3.14) +project(test_apps) set(CMAKE_CXX_STANDARD 11) add_executable( @@ -49,3 +46,16 @@ target_link_libraries( pthread curl ) + +find_package(Protobuf REQUIRED) +add_subdirectory(${CMAKE_SOURCE_DIR}/../../ext/protobuf EXCLUDED_FROM_ALL) +add_executable( + rc_xapp + rc_xapp.cpp +) +target_link_libraries( + rc_xapp + rc-api + grpc++ + ${Protobuf_LIBRARY} +)