add: simple config system with font paths
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user