ADD: beautified the class and removed unnecessary class

This commit is contained in:
hwinkel
2024-03-15 10:58:56 +01:00
parent ada77d0e45
commit d265cb67f0
13 changed files with 186 additions and 440 deletions

View File

@@ -45,14 +45,8 @@ ENDIF()
ENDIF()
# build with CC=clang-15 CXX=clang++-15 cmake -D CMAKE_BUILD_TYPE=DEBUG ..
add_library(kubecontrol STATIC
include/kubecontrol/kubecontrol.hpp
src/kubecontrol/kubecontrol.cpp
include/kubecontrol/KubePod.hpp
src/kubecontrol/KubePod.cpp
@@ -99,12 +93,6 @@ option(TEST_KUBECONTROL_LIBRARY "Turn running of application template specific t
IF (${TEST_KUBECONTROL_LIBRARY})
# add_executable(test_kubecontrol tests/test_kubecontrol.cpp)
# target_link_libraries(test_kubecontrol Catch2::Catch2 kubecontrol )
# catch_discover_tests(test_kubecontrol)
add_executable(test_KubePod tests/test_KubePod.cpp)
target_link_libraries(test_KubePod Catch2::Catch2 kubecontrol )
catch_discover_tests(test_KubePod)