Initial SVG support and clean up.
This commit is contained in:
parent
a95439d419
commit
79b07d36a6
7 changed files with 13 additions and 22 deletions
|
@ -1,9 +1,15 @@
|
||||||
list(APPEND web_LIB_INCLUDES
|
list(APPEND web_LIB_INCLUDES
|
||||||
|
xml/XmlParser.h
|
||||||
xml/XmlParser.cpp
|
xml/XmlParser.cpp
|
||||||
|
xml/XmlDocument.h
|
||||||
xml/XmlDocument.cpp
|
xml/XmlDocument.cpp
|
||||||
|
xml/XmlWriter.h
|
||||||
xml/XmlWriter.cpp
|
xml/XmlWriter.cpp
|
||||||
|
xml/xml-elements/XmlElement.h
|
||||||
xml/xml-elements/XmlElement.cpp
|
xml/xml-elements/XmlElement.cpp
|
||||||
|
xml/xml-elements/XmlAttribute.h
|
||||||
xml/xml-elements/XmlAttribute.cpp
|
xml/xml-elements/XmlAttribute.cpp
|
||||||
|
xml/xml-elements/XmlProlog.h
|
||||||
xml/xml-elements/XmlProlog.cpp
|
xml/xml-elements/XmlProlog.cpp
|
||||||
markdown/MarkdownParser.cpp
|
markdown/MarkdownParser.cpp
|
||||||
html/HtmlWriter.cpp
|
html/HtmlWriter.cpp
|
||||||
|
|
0
src/web/svg/SvgDocument.cpp
Normal file
0
src/web/svg/SvgDocument.cpp
Normal file
0
src/web/svg/SvgDocument.h
Normal file
0
src/web/svg/SvgDocument.h
Normal file
0
src/web/svg/SvgWriter.cpp
Normal file
0
src/web/svg/SvgWriter.cpp
Normal file
0
src/web/svg/SvgWriter.h
Normal file
0
src/web/svg/SvgWriter.h
Normal file
|
@ -25,36 +25,21 @@ list(APPEND TestFiles
|
||||||
video/TestVideoDecoder.cpp
|
video/TestVideoDecoder.cpp
|
||||||
windows/TestWaylandWindow.cpp
|
windows/TestWaylandWindow.cpp
|
||||||
web/TestMarkdownParser.cpp
|
web/TestMarkdownParser.cpp
|
||||||
web/TestXmlParser.cpp)
|
web/TestXmlParser.cpp
|
||||||
|
web/TestSvgWriter.cpp)
|
||||||
list(APPEND TestNames
|
|
||||||
TestAudioWriter
|
|
||||||
TestMidiReader
|
|
||||||
TestBinaryStream
|
|
||||||
TestStreamCompressor
|
|
||||||
TestDatabase
|
|
||||||
TestFontReader
|
|
||||||
TestOpenGlRendering
|
|
||||||
TestRasterizer
|
|
||||||
TestDbus
|
|
||||||
TestPngReader
|
|
||||||
TestPngWriter
|
|
||||||
TestNetworkManagerClient
|
|
||||||
TestNetworkManagerServer
|
|
||||||
TestPdfWriter
|
|
||||||
TestVideoDecoder
|
|
||||||
TestWaylandWindow
|
|
||||||
TestMarkdownParser
|
|
||||||
TestXmlParser)
|
|
||||||
|
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
pkg_check_modules(DBUS dbus-1)
|
pkg_check_modules(DBUS dbus-1)
|
||||||
include_directories(${DBUS_INCLUDE_DIRS})
|
include_directories(${DBUS_INCLUDE_DIRS})
|
||||||
link_directories(${DBUS_LIBRARY_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})
|
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})
|
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()
|
endforeach()
|
||||||
|
|
||||||
|
|
||||||
|
|
0
test/web/TestSvgWriter.cpp
Normal file
0
test/web/TestSvgWriter.cpp
Normal file
Loading…
Reference in a new issue