Changes
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c87724d..eceb15d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ if(POLICY CMP0169)
cmake_policy(SET CMP0169 OLD)
endif()
-project(status_tracker LANGUAGES CXX)
+project(probius LANGUAGES CXX)
include(FetchContent)
set(LIBMW_BUILD_SQLITE ON CACHE BOOL "Build libmw SQLite support")
@@ -82,11 +82,11 @@ set(INCLUDES
${inja_SOURCE_DIR}/single_include
)
-add_executable(status_tracker ${SOURCE_FILES} src/main.cpp)
-target_compile_features(status_tracker PRIVATE cxx_std_23)
-set_target_properties(status_tracker PROPERTIES CXX_EXTENSIONS OFF)
-target_include_directories(status_tracker PRIVATE ${INCLUDES})
-target_link_libraries(status_tracker PRIVATE ${LIBS})
+add_executable(probius ${SOURCE_FILES} src/main.cpp)
+target_compile_features(probius PRIVATE cxx_std_23)
+set_target_properties(probius PROPERTIES CXX_EXTENSIONS OFF)
+target_include_directories(probius PRIVATE ${INCLUDES})
+target_link_libraries(probius PRIVATE ${LIBS})
include(CTest)
if(BUILD_TESTING)
@@ -108,12 +108,12 @@ if(BUILD_TESTING)
tests/service_test.cpp
tests/thread_pool_test.cpp
)
- add_executable(status_tracker_test ${SOURCE_FILES} ${TEST_FILES})
- target_compile_features(status_tracker_test PRIVATE cxx_std_23)
- set_target_properties(status_tracker_test PROPERTIES CXX_EXTENSIONS OFF)
- target_include_directories(status_tracker_test PRIVATE ${INCLUDES})
- target_link_libraries(status_tracker_test PRIVATE
+ add_executable(probius_test ${SOURCE_FILES} ${TEST_FILES})
+ target_compile_features(probius_test PRIVATE cxx_std_23)
+ set_target_properties(probius_test PROPERTIES CXX_EXTENSIONS OFF)
+ target_include_directories(probius_test PRIVATE ${INCLUDES})
+ target_link_libraries(probius_test PRIVATE
${LIBS} GTest::gtest_main
)
- gtest_discover_tests(status_tracker_test PROPERTIES TIMEOUT 30)
+ gtest_discover_tests(probius_test PROPERTIES TIMEOUT 30)
endif()
diff --git a/config.example.yaml b/config.example.yaml
index 241ee35..f7ad897 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -11,7 +11,7 @@ groups:
blog:
name: Blog
description: Personal website
- url: https://blog.mws.rocks/
+ url: https://blog.example/
interval:
value: 1
unit: minute
@@ -54,7 +54,7 @@ groups:
unit: minute
endpoint:
protocol: UDP
- host: 10.10.10.53
+ host: 10.10.10.1
port: 53
payload: status-tracker
timeout_second: 5