Initial SVG support and clean up.

This commit is contained in:
jmsgrogan 2022-08-28 14:55:22 +01:00
parent a95439d419
commit 79b07d36a6
7 changed files with 13 additions and 22 deletions

View file

@ -1,9 +1,15 @@
list(APPEND web_LIB_INCLUDES
xml/XmlParser.h
xml/XmlParser.cpp
xml/XmlDocument.h
xml/XmlDocument.cpp
xml/XmlWriter.h
xml/XmlWriter.cpp
xml/xml-elements/XmlElement.h
xml/xml-elements/XmlElement.cpp
xml/xml-elements/XmlAttribute.h
xml/xml-elements/XmlAttribute.cpp
xml/xml-elements/XmlProlog.h
xml/xml-elements/XmlProlog.cpp
markdown/MarkdownParser.cpp
html/HtmlWriter.cpp

View file

View file

View file

0
src/web/svg/SvgWriter.h Normal file
View file

View file

@ -25,36 +25,21 @@ list(APPEND TestFiles
video/TestVideoDecoder.cpp
windows/TestWaylandWindow.cpp
web/TestMarkdownParser.cpp
web/TestXmlParser.cpp)
list(APPEND TestNames
TestAudioWriter
TestMidiReader
TestBinaryStream
TestStreamCompressor
TestDatabase
TestFontReader
TestOpenGlRendering
TestRasterizer
TestDbus
TestPngReader
TestPngWriter
TestNetworkManagerClient
TestNetworkManagerServer
TestPdfWriter
TestVideoDecoder
TestWaylandWindow
TestMarkdownParser
TestXmlParser)
web/TestXmlParser.cpp
web/TestSvgWriter.cpp)
find_package(PkgConfig)
pkg_check_modules(DBUS dbus-1)
include_directories(${DBUS_INCLUDE_DIRS})
link_directories(${DBUS_LIBRARY_DIRS})
foreach(TestFile TestName IN ZIP_LISTS TestFiles TestNames)
foreach(TestFile ${TestFiles})
cmake_path(GET TestFile FILENAME TestFileName)
cmake_path(GET TestFileName STEM TestName)
add_executable(${TestName} ${TestFile})
target_link_libraries(${TestName} PUBLIC core compression fonts network image publishing video database geometry audio graphics web client test_utils ${DBUS_LIBRARIES})
set_property(TARGET ${TestName} PROPERTY FOLDER test)
endforeach()

View file