summaryrefslogtreecommitdiffstats
path: root/ksvg/impl
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/impl')
-rw-r--r--ksvg/impl/CMakeLists.txt92
-rw-r--r--ksvg/impl/libs/CMakeLists.txt14
-rw-r--r--ksvg/impl/libs/art_support/CMakeLists.txt23
-rw-r--r--ksvg/impl/libs/libtext2path/CMakeLists.txt12
-rw-r--r--ksvg/impl/libs/libtext2path/src/CMakeLists.txt37
-rw-r--r--ksvg/impl/libs/xrgbrender/CMakeLists.txt22
6 files changed, 200 insertions, 0 deletions
diff --git a/ksvg/impl/CMakeLists.txt b/ksvg/impl/CMakeLists.txt
new file mode 100644
index 00000000..8b44c254
--- /dev/null
+++ b/ksvg/impl/CMakeLists.txt
@@ -0,0 +1,92 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( libs )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../core
+ ${CMAKE_CURRENT_SOURCE_DIR}/../dom
+ ${CMAKE_CURRENT_SOURCE_DIR}/../ecma
+ ${CMAKE_CURRENT_SOURCE_DIR}/../data
+ ${CMAKE_CURRENT_SOURCE_DIR}/../impl
+ ${CMAKE_CURRENT_SOURCE_DIR}/../impl/libs/libtext2path/src
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
+)
+
+
+##### ksvgdomimpl (static) ######################
+
+tde_add_library( ksvgdomimpl STATIC_PIC AUTOMOC
+ SOURCES
+ SVGLengthImpl.cc SVGNumberImpl.cc SVGPointImpl.cc SVGTransformImpl.cc
+ SVGMatrixImpl.cc SVGRectImpl.cc SVGAngleImpl.cc SVGAnimatedLengthImpl.cc
+ SVGAnimatedNumberImpl.cc SVGAnimatedIntegerImpl.cc SVGAnimatedBooleanImpl.cc
+ SVGAnimatedEnumerationImpl.cc SVGAnimatedPreserveAspectRatioImpl.cc
+ SVGAnimatedRectImpl.cc SVGAnimatedAngleImpl.cc SVGAnimatedPathDataImpl.cc
+ SVGAnimatedStringImpl.cc SVGLengthListImpl.cc SVGNumberListImpl.cc
+ SVGPointListImpl.cc SVGTransformListImpl.cc SVGStringListImpl.cc
+ SVGPathSegListImpl.cc SVGElementInstanceListImpl.cc
+ SVGAnimatedLengthListImpl.cc SVGAnimatedNumberListImpl.cc
+ SVGAnimatedPointsImpl.cc SVGAnimatedTransformListImpl.cc
+ SVGShapeImpl.cc SVGContainerImpl.cc SVGBBoxTarget.cc SVGHelperImpl.cc
+ SVGStylableImpl.cc SVGTransformableImpl.cc SVGTestsImpl.cc SVGLangSpaceImpl.cc
+ SVGExternalResourcesRequiredImpl.cc SVGLocatableImpl.cc SVGFitToViewBoxImpl.cc
+ SVGPreserveAspectRatioImpl.cc SVGZoomAndPanImpl.cc SVGViewSpecImpl.cc
+ SVGElementImpl.cc SVGElementInstanceImpl.cc SVGDocumentImpl.cc
+ SVGSVGElementImpl.cc SVGWindowImpl.cc SVGDefsElementImpl.cc
+ SVGUseElementImpl.cc SVGDescElementImpl.cc SVGTitleElementImpl.cc
+ SVGGElementImpl.cc SVGSwitchElementImpl.cc SVGSymbolElementImpl.cc
+ SVGImageElementImpl.cc SVGURIReferenceImpl.cc SVGStyleElementImpl.cc
+ SVGCSSRuleImpl.cc SVGPathElementImpl.cc SVGPathSegImpl.cc
+ SVGPathSegClosePathImpl.cc SVGPathSegArcImpl.cc SVGPathSegMovetoImpl.cc
+ SVGPathSegCurvetoQuadraticImpl.cc SVGPathSegCurvetoQuadraticSmoothImpl.cc
+ SVGPathSegCurvetoCubicImpl.cc SVGPathSegCurvetoCubicSmoothImpl.cc
+ SVGPathSegLinetoImpl.cc SVGPathSegLinetoHorizontalImpl.cc
+ SVGPathSegLinetoVerticalImpl.cc SVGRectElementImpl.cc SVGCircleElementImpl.cc
+ SVGEllipseElementImpl.cc SVGLineElementImpl.cc SVGPolyElementImpl.cc
+ SVGPolylineElementImpl.cc SVGPolygonElementImpl.cc SVGTextElementImpl.cc
+ SVGTSpanElementImpl.cc SVGTRefElementImpl.cc SVGTextPositioningElementImpl.cc
+ SVGTextContentElementImpl.cc SVGTextPathElementImpl.cc SVGPaintImpl.cc
+ SVGMarkerElementImpl.cc SVGColorImpl.cc SVGICCColorImpl.cc
+ SVGColorProfileElementImpl.cc SVGColorProfileRuleImpl.cc SVGPaintServerImpl.cc
+ SVGGradientElementImpl.cc SVGStopElementImpl.cc SVGLinearGradientElementImpl.cc
+ SVGRadialGradientElementImpl.cc SVGPatternElementImpl.cc
+ SVGClipPathElementImpl.cc SVGMaskElementImpl.cc SVGFilterElementImpl.cc
+ SVGFilterPrimitiveStandardAttributesImpl.cc SVGFEBlendElementImpl.cc
+ SVGFEColorMatrixElementImpl.cc SVGFEComponentTransferElementImpl.cc
+ SVGComponentTransferFunctionElementImpl.cc SVGFEFuncAElementImpl.cc
+ SVGFEFuncBElementImpl.cc SVGFEFuncGElementImpl.cc SVGFEFuncRElementImpl.cc
+ SVGFECompositeElementImpl.cc SVGFEConvolveMatrixElementImpl.cc
+ SVGFEFloodElementImpl.cc SVGFEGaussianBlurElementImpl.cc
+ SVGFEDiffuseLightingElementImpl.cc SVGFEDistantLightElementImpl.cc
+ SVGFEPointLightElementImpl.cc SVGFESpotLightElementImpl.cc
+ SVGFEDisplacementMapElementImpl.cc SVGFEMergeElementImpl.cc
+ SVGFEMergeNodeElementImpl.cc SVGFEImageElementImpl.cc
+ SVGFEMorphologyElementImpl.cc SVGFEOffsetElementImpl.cc
+ SVGFESpecularLightingElementImpl.cc SVGFETileElementImpl.cc
+ SVGFETurbulenceElementImpl.cc SVGCursorElementImpl.cc
+ SVGAElementImpl.cc SVGViewElementImpl.cc SVGScriptElementImpl.cc
+ SVGEventImpl.cc SVGZoomEventImpl.cc SVGEcma.cc generateddata.cpp
+ SVGAnimationElementImpl.cc SVGAnimateElementImpl.cc SVGSetElementImpl.cc
+ SVGAnimateMotionElementImpl.cc SVGAnimateColorElementImpl.cc
+ SVGAnimateTransformElementImpl.cc SVGMPathElementImpl.cc SVGTimeScheduler.cc
+ SVGFontElementImpl.cc SVGAltGlyphElementImpl.cc SVGAltGlyphDefElementImpl.cc
+ SVGGlyphRefElementImpl.cc SVGGlyphElementImpl.cc SVGMissingGlyphElementImpl.cc
+ SVGFontFaceElementImpl.cc SVGFontFaceFormatElementImpl.cc
+ SVGFontFaceNameElementImpl.cc SVGFontFaceSrcElementImpl.cc
+ SVGFontFaceUriElementImpl.cc SVGDefinitionSrcElementImpl.cc
+ SVGHKernElementImpl.cc SVGVKernElementImpl.cc SVGMetadataElementImpl.cc
+ SVGForeignObjectElementImpl.cc svgpathparser.cc
+)
diff --git a/ksvg/impl/libs/CMakeLists.txt b/ksvg/impl/libs/CMakeLists.txt
new file mode 100644
index 00000000..b83b44fe
--- /dev/null
+++ b/ksvg/impl/libs/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( xrgbrender )
+add_subdirectory( art_support )
+add_subdirectory( libtext2path )
diff --git a/ksvg/impl/libs/art_support/CMakeLists.txt b/ksvg/impl/libs/art_support/CMakeLists.txt
new file mode 100644
index 00000000..7aef1d07
--- /dev/null
+++ b/ksvg/impl/libs/art_support/CMakeLists.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${ART_INCLUDE_DIRS}
+)
+
+
+##### ksvgart (static) ##########################
+
+tde_add_library( ksvgart STATIC_PIC
+ SOURCES
+ art_render_misc.c art_rgba_svp.c art_misc.c
+)
diff --git a/ksvg/impl/libs/libtext2path/CMakeLists.txt b/ksvg/impl/libs/libtext2path/CMakeLists.txt
new file mode 100644
index 00000000..7356f221
--- /dev/null
+++ b/ksvg/impl/libs/libtext2path/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( src )
diff --git a/ksvg/impl/libs/libtext2path/src/CMakeLists.txt b/ksvg/impl/libs/libtext2path/src/CMakeLists.txt
new file mode 100644
index 00000000..7e1cee2c
--- /dev/null
+++ b/ksvg/impl/libs/libtext2path/src/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS)
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
+ ${FRIBIDI_INCLUDE_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ BezierPath.h Glyph.h GlyphTracer.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/libtext2path-0.1 )
+
+
+
+##### text2path (static) ########################
+
+tde_add_library( text2path STATIC_PIC
+ SOURCES
+ Affine.cpp Rectangle.cpp Font.cpp Glyph.cpp
+ GlyphTracer.cpp Converter.cpp QtUnicode.cpp
+)
diff --git a/ksvg/impl/libs/xrgbrender/CMakeLists.txt b/ksvg/impl/libs/xrgbrender/CMakeLists.txt
new file mode 100644
index 00000000..36774cbb
--- /dev/null
+++ b/ksvg/impl/libs/xrgbrender/CMakeLists.txt
@@ -0,0 +1,22 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+)
+
+
+##### ksvgxrgbrender (static) ###################
+
+tde_add_library( ksvgxrgbrender STATIC_PIC
+ SOURCES
+ gdk-pixbuf-xlib.c gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlibrgb.c
+)