ADD: added json lib and made some changes in the entity class

This commit is contained in:
hwinkel
2023-07-05 22:11:44 +02:00
parent 5485c8550e
commit 3333fadf20
6 changed files with 53 additions and 25 deletions

View File

@@ -13,6 +13,11 @@ set(TEST_SIMCORE_LIBRARY OFF CACHE INTERNAL "")
add_subdirectory(libs/SimCore EXCLUDE_FROM_ALL)
ENDIF()
IF(NOT TARGET nlohmann_json)
set(JSON_BuildTests_INIT OFF CACHE INTERNAL "")
add_subdirectory(libs/nlohmannJSON EXCLUDE_FROM_ALL)
ENDIF()
protobuf_generate_cpp(PROTO_PATH include/Orders/protos CPP_PATH include/Orders/protos HPP_PATH include/Orders/protos)
@@ -73,6 +78,7 @@ target_link_libraries(EntityLibrary
SimCore
eigen
loguru
nlohmann_json
)
# add_dependencies(SimCore protoc)