feat: expand and fix issues in SVG renderer

This commit is contained in:
2026-08-26 12:04:38 +02:00
parent ffc9756e67
commit 8afadb44cb
5 changed files with 1972 additions and 316 deletions
+8 -3
View File
@@ -2,17 +2,22 @@ CXX ?= g++
CXXFLAGS ?= -std=c++20 -O2 -Wall -Wextra
HTTP_TEST := http_test
SVG_TEST := svg_renderer_test
.PHONY: all check clean
all: $(HTTP_TEST)
all: $(HTTP_TEST) $(SVG_TEST)
$(HTTP_TEST): http_test.cpp
$(CXX) $(CXXFLAGS) -I../programs/include \
-I../programs/lib/bearssl/inc $< -o $@
check: $(HTTP_TEST)
$(SVG_TEST): svg_renderer_test.cpp ../programs/include/gui/svg.hpp
$(CXX) $(CXXFLAGS) -I../programs/include $< -o $@
check: $(HTTP_TEST) $(SVG_TEST)
./$(HTTP_TEST)
./$(SVG_TEST)
clean:
rm -f $(HTTP_TEST)
rm -f $(HTTP_TEST) $(SVG_TEST)