mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
json: Added nlohmann's JSON C++ header
Adding JSON header for serializing/deserializing library descriptor JSON files. * Added header * Added simple unit test to verify functionality Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -7,6 +7,13 @@ if(NOT GTEST_FOUND)
|
||||
return ()
|
||||
endif()
|
||||
|
||||
# Unit tests - utilities library
|
||||
add_executable(utilities_tests utilities/utilities_tests.cxx)
|
||||
target_link_libraries(utilities_tests utilities GTest::GTest GTest::Main)
|
||||
gtest_add_tests(utilities_tests "" AUTO)
|
||||
|
||||
# Unit tests - Json header
|
||||
add_executable(json_tests json/json_tests.cxx)
|
||||
target_link_libraries(json_tests GTest::GTest GTest::Main)
|
||||
target_include_directories(json_tests PRIVATE "${UPM_COMMON_HEADER_DIRS}/")
|
||||
gtest_add_tests(json_tests "" AUTO)
|
||||
|
Reference in New Issue
Block a user