From 4ebfea45f32cc845d7887e552e8c6084d8ef3067 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 10 Nov 2017 21:43:09 -0800 Subject: lib: Add config_parser class This class is not publicly exported. It is meant to read config files in the INI format. Reviewed-by: Brent Stapleton --- host/tests/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'host/tests/CMakeLists.txt') diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt index 0741191f2..b22f5722c 100644 --- a/host/tests/CMakeLists.txt +++ b/host/tests/CMakeLists.txt @@ -111,6 +111,19 @@ TARGET_LINK_LIBRARIES(nocscript_parser_test uhd ${Boost_LIBRARIES}) UHD_ADD_TEST(nocscript_parser_test nocscript_parser_test) UHD_INSTALL(TARGETS nocscript_parser_test RUNTIME DESTINATION ${PKG_LIB_DIR}/tests COMPONENT tests) +ADD_EXECUTABLE(config_parser_test + config_parser_test.cpp + ${CMAKE_SOURCE_DIR}/lib/utils/config_parser.cpp +) +TARGET_LINK_LIBRARIES(config_parser_test uhd ${Boost_LIBRARIES}) +UHD_ADD_TEST(config_parser_test config_parser_test) +UHD_INSTALL(TARGETS + config_parser_test + RUNTIME + DESTINATION ${PKG_LIB_DIR}/tests + COMPONENT tests +) + ######################################################################## # demo of a loadable module ######################################################################## -- cgit v1.2.3