added basic login support

This commit is contained in:
2025-10-12 00:21:32 +02:00
parent 0ab7c52cfc
commit 4b0a9bdd6d
8 changed files with 254 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ foreach(file IN LISTS TEMPLATE_FILES)
endforeach()
# Use Crow from system include (installed via yay -S crow + asio)
include_directories(/usr/include src src/htmx src/shadowrun src/database)
include_directories(/usr/include src src/htmx src/shadowrun src/database src/login)
add_executable(${TARGET_NAME}
src/main.cpp
@@ -70,6 +70,10 @@ add_executable(${TARGET_NAME}
src/shadowrun/ShadowrunDb.cpp
src/shadowrun/ShadowrunDb.hpp
# login
src/login/login.cpp
src/login/login.hpp
)
target_compile_definitions(${TARGET_NAME} PRIVATE APPLICATION_NAME="${TARGET_NAME}")