summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/libs
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/impl/libs')
-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
5 files changed, 108 insertions, 0 deletions
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
+)