add: Basic Font Rendering
This commit is contained in:
@@ -15,7 +15,10 @@ set(src
|
||||
src/display/Display.cpp
|
||||
src/render/RenderTarget.hpp
|
||||
src/render/RenderTarget.cpp
|
||||
|
||||
src/font/Font.hpp
|
||||
src/font/Font.cpp
|
||||
src/font/Glyph.hpp
|
||||
src/font/Glyph.cpp
|
||||
)
|
||||
|
||||
if (BUILD_EPD)
|
||||
@@ -33,12 +36,22 @@ if (BUILD_VIRTUAL_DISPLAY)
|
||||
endif (BUILD_VIRTUAL_DISPLAY)
|
||||
|
||||
add_executable(${target} ${src})
|
||||
target_link_libraries(${target} PRIVATE fmt::fmt)
|
||||
target_link_libraries(${target} PRIVATE
|
||||
fmt::fmt
|
||||
)
|
||||
|
||||
if (BUILD_EPD)
|
||||
target_link_libraries(${target} PRIVATE waveshare)
|
||||
target_link_libraries(${target} PRIVATE
|
||||
waveshare
|
||||
)
|
||||
endif (BUILD_EPD)
|
||||
|
||||
if (BUILD_VIRTUAL_DISPLAY)
|
||||
target_link_libraries(${target} PRIVATE sfml-system sfml-window sfml-graphics)
|
||||
target_link_libraries(${target} PRIVATE
|
||||
sfml-system
|
||||
sfml-window
|
||||
sfml-graphics
|
||||
fmt::fmt
|
||||
nlohmann_json::nlohmann_json
|
||||
)
|
||||
endif(BUILD_VIRTUAL_DISPLAY)
|
||||
Reference in New Issue
Block a user