Added a run_at, run_every and run_on_start, making the app a daemon like entity.
This commit is contained in:
parent
111c2487d8
commit
41c405a0c5
1 changed files with 694 additions and 46 deletions
|
|
@ -1,16 +1,35 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
cmake_minimum_required(VERSION 3.30)
|
||||
|
||||
project(StartUpRunner VERSION 1.0.0 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 26)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
absl
|
||||
GIT_REPOSITORY https://github.com/abseil/abseil-cpp.git
|
||||
GIT_TAG 20260526.0 # Use a stable version tag or commit hash
|
||||
)
|
||||
FetchContent_MakeAvailable(absl)
|
||||
set(RE2_BUILD_TESTING OFF CACHE BOOL "" FORCE)
|
||||
set(RE2_INSTALL OFF CACHE BOOL "" FORCE)
|
||||
FetchContent_Declare(
|
||||
re2
|
||||
GIT_REPOSITORY https://github.com/google/re2.git
|
||||
GIT_TAG 2025-11-05 # Use a stable version tag or 'main'
|
||||
)
|
||||
FetchContent_MakeAvailable(re2)
|
||||
|
||||
|
||||
find_package(Boost CONFIG)
|
||||
find_package(nlohmann_json CONFIG)
|
||||
|
||||
|
||||
add_executable(StartUpRunner main.cpp
|
||||
appinfo.h appinfo.cpp
|
||||
executionmanager.h executionmanager.cpp
|
||||
log.h log.cpp)
|
||||
|
||||
target_link_libraries(StartUpRunner PRIVATE nlohmann_json::nlohmann_json)
|
||||
target_link_libraries(StartUpRunner PRIVATE nlohmann_json::nlohmann_json re2::re2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue