added JSON support to select the services
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(CrowHTMX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Allow selection of build type if not set
|
||||
@@ -32,7 +32,21 @@ endforeach()
|
||||
# Use Crow from system include (installed via yay -S crow + asio)
|
||||
include_directories(/usr/include)
|
||||
|
||||
add_executable(app main.cpp)
|
||||
add_executable(app src/main.cpp
|
||||
src/htmx/HtmxTable.cpp
|
||||
src/htmx/HtmxTable.h
|
||||
src/systemd.cpp
|
||||
src/systemd.h
|
||||
src/json.hpp
|
||||
src/htmx/HtmxTableRow.cpp
|
||||
src/htmx/HtmxTableRow.h
|
||||
src/htmx/HtmxObject.cpp
|
||||
src/htmx/HtmxObject.h
|
||||
src/htmx_helper.cpp
|
||||
src/htmx_helper.h
|
||||
src/json_settings.cpp
|
||||
src/json_settings.h
|
||||
src/json.hpp)
|
||||
|
||||
target_link_libraries(app pthread)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user