FIX:fixed missing CMakeLists include of kubecontroll

This commit is contained in:
Henry Winkel
2023-08-08 17:17:31 +02:00
parent 6ad961fbed
commit f08cb73b1c

View File

@@ -18,7 +18,10 @@ set(JSON_BuildTests_INIT OFF CACHE INTERNAL "")
add_subdirectory(libs/nlohmannJSON EXCLUDE_FROM_ALL)
ENDIF()
IF(NOT TARGET kubecontrol)
set(TEST_KUBECONTROL_LIBRARY OFF CACHE INTERNAL "")
add_subdirectory(libs/KubeControl EXCLUDE_FROM_ALL)
ENDIF()
protobuf_generate_cpp(PROTO_PATH include/Orders/protos CPP_PATH include/Orders/protos HPP_PATH include/Orders/protos)
@@ -80,6 +83,7 @@ eigen
loguru
nlohmann_json
OrderLibrary
kubecontrol
)
# add_dependencies(SimCore protoc)
@@ -125,12 +129,12 @@ IF (${TEST_ENTITIY_LIBRARY})
target_link_libraries(test_EntityClass Catch2::Catch2 EntityLibrary loguru)
catch_discover_tests(test_EntityClass)
add_executable(test_MovementClass tests/test_MovementClass.cpp)
target_link_libraries(test_MovementClass Catch2::Catch2 EntityLibrary SimCore loguru)
catch_discover_tests(test_MovementClass)
# add_executable(test_MovementClass tests/test_MovementClass.cpp)
# target_link_libraries(test_MovementClass Catch2::Catch2 EntityLibrary SimCore loguru)
# catch_discover_tests(test_MovementClass)
add_executable(test_EntityImplementation tests/test_EntityImplementation.cpp)
target_link_libraries(test_EntityImplementation EntityLibrary loguru)
# add_executable(test_EntityImplementation tests/test_EntityImplementation.cpp)
# target_link_libraries(test_EntityImplementation EntityLibrary loguru)
add_executable(test_Tracklist tests/test_Tracklist.cpp)
target_link_libraries(test_Tracklist Catch2::Catch2 EntityLibrary loguru)