Newer
Older
find_package(logger CONFIG REQUIRED COMPONENTS log_common log_x86)
add_custom_target(check
COMMAND ./cppcheck.sh
COMMAND ./clang-tidy.sh
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/ci")
# Allow the user to set the ECSS Configuration directory using the -DECSS_CONFIGURATION=... command line argument
set(ECSS_CONFIGURATION "${PROJECT_SOURCE_DIR}/inc/Platform/x86" CACHE PATH
"The include directory for the platform-specific ECSS configuration headers"
)
include_directories(${ECSS_CONFIGURATION})
add_library(common STATIC)
target_include_directories(common PUBLIC "${PROJECT_SOURCE_DIR}/inc/")
target_sources(common PRIVATE
hiluluk
committed
src/Service.cpp
src/ServicePool.cpp
src/Helpers/PacketStore.cpp
src/Services/MemoryManagementService.cpp
src/Services/ParameterService.cpp
src/Services/RequestVerificationService.cpp
athatheo
committed
src/Services/LargePacketTransferService.cpp
src/Services/EventActionService.cpp
athatheo
committed
src/Services/TimeBasedSchedulingService.cpp
src/Services/FunctionManagementService.cpp
src/Services/StorageAndRetrievalService.cpp
src/Services/HousekeepingService.cpp
src/Services/ParameterStatisticsService.cpp
src/Services/OnBoardMonitoringService.cpp
src/Helpers/Statistic.cpp
src/Services/RealTimeForwardingControlService.cpp
src/Helpers/AllMessageTypes.cpp
target_link_libraries(x86_services PRIVATE etl log_common log_x86 common)
# Logs all levels of messages. This command can be added by other users of this
# library to override the respective log level.
file(GLOB test_SRC "test/**/*.cpp")
add_executable(tests