add: simple config system with font paths

This commit is contained in:
2022-10-16 02:12:19 +02:00
parent 9867242098
commit 2a0334ba4b
9 changed files with 140 additions and 4 deletions

View File

@@ -2,13 +2,16 @@
set(target frame)
configure_file (
"${PROJECT_SOURCE_DIR}/frame/src/Config.h.in"
"${PROJECT_SOURCE_DIR}/frame/src/Config.h"
"${PROJECT_SOURCE_DIR}/frame/src/BuildConfig.h.in"
"${PROJECT_SOURCE_DIR}/frame/src/BuildConfig.h"
)
set(src
src/main.cpp
src/Config.hpp
src/Config.cpp
src/Size.hpp
src/Vector.hpp
src/Rect.hpp
@@ -69,6 +72,7 @@ endif (BUILD_VIRTUAL_DISPLAY)
add_executable(${target} ${src})
target_link_libraries(${target} PRIVATE
fmt::fmt
nlohmann_json::nlohmann_json
)
if (BUILD_EPD)