Added Unittests #103

Merged
meierj merged 18 commits from mueller/added-unittests into develop 2021-10-07 17:22:24 +02:00
Showing only changes of commit c1fe5325ed - Show all commits

View File

@ -18,7 +18,8 @@ if(TGT_BSP MATCHES "arm/q7s")
option(BUILD_Q7S_SIMPLE_MODE OFF "Simple mode with a minimal main function")
endif()
option(ADD_ETL_LIB "Add ETL library" ON)
option(EIVE_BUILD_UNITTESTS "Build Catch2 unittests" OFF)
option(EIVE_ADD_ETL_LIB "Add ETL library" ON)
option(ADD_JSON_LIB "Add JSON library" ON)
option(EIVE_SYSROOT_MAGIC "Perform sysroot magic which might not be necessary" OFF)
@ -143,7 +144,7 @@ set(FSFW_ADDITIONAL_INC_PATHS
# Add executable
add_executable(${TARGET_NAME})
if(ADD_ETL_LIB)
if(EIVE_ADD_ETL_LIB)
add_subdirectory(${ETL_LIB_PATH})
endif()
@ -203,7 +204,7 @@ if(NOT EIVE_BUILD_WATCHDOG)
endif()
endif()
if(ADD_ETL_LIB)
if(EIVE_ADD_ETL_LIB)
target_link_libraries(${TARGET_NAME} PRIVATE
${LIB_ETL_NAME}
)