Skip to content
Snippets Groups Projects
Commit 24721fb9 authored by kongr45gpen's avatar kongr45gpen
Browse files

Add `make check` command that runs all tests

Fixes #3
parent 697ddf0d
No related branches found
No related tags found
No related merge requests found
...@@ -7,5 +7,11 @@ set(CMAKE_CXX_STANDARD 17) ...@@ -7,5 +7,11 @@ set(CMAKE_CXX_STANDARD 17)
# Specify the directories for #includes # Specify the directories for #includes
include_directories("${PROJECT_SOURCE_DIR}/inc") include_directories("${PROJECT_SOURCE_DIR}/inc")
add_custom_target(check
COMMAND ./cppcheck.sh
COMMAND ./vera.sh
COMMAND ./clang-tidy.sh
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/ci")
# Specify the .cpp files for the executables # Specify the .cpp files for the executables
add_executable(ecss_services src/main.cpp src/Message.cpp src/Service.cpp src/Services/TestService.cpp) add_executable(ecss_services src/main.cpp src/Message.cpp src/Service.cpp src/Services/TestService.cpp)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment