first draft is working

This commit is contained in:
2025-11-22 19:41:46 +01:00
parent e4289ee1ac
commit b3c4395fac
12 changed files with 1767 additions and 119 deletions

View File

@@ -33,11 +33,20 @@ foreach(file IN LISTS TEMPLATE_FILES)
configure_file("${file}" "${CMAKE_BINARY_DIR}/${rel_path}" COPYONLY)
endforeach()
# warnings to ignore
add_compile_options(-Wno-deprecated-declarations)
add_compile_options(-Wno-deprecated-literal-operator)
# Use Crow from system include (installed via yay -S crow + asio)
include_directories(/usr/include src src/htmx src/shadowrun src/database src/login)
include_directories(
/usr/include
include/libs
src
src/htmx
src/shadowrun
src/database
src/login
)
add_executable(${TARGET_NAME}
src/main.cpp
@@ -47,7 +56,6 @@ add_executable(${TARGET_NAME}
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
@@ -56,11 +64,9 @@ add_executable(${TARGET_NAME}
src/htmx_helper.h
src/json_settings.cpp
src/json_settings.h
src/json.hpp
src/database/database.cpp
src/database/database.hpp
src/database/sqlite_orm.h
# Shadowrun
src/shadowrun/HtmxShItemList.cpp