]> granicus.if.org Git - graphviz/commitdiff
cmake stuff
authorellson <devnull@localhost>
Sat, 8 Jul 2006 23:36:09 +0000 (23:36 +0000)
committerellson <devnull@localhost>
Sat, 8 Jul 2006 23:36:09 +0000 (23:36 +0000)
plugin/pango/CMakeLists.txt

index 1664ddc582f9cecef55510d83a13b96cf9d07c20..12f25b9e03d8be0de7798b3e7d678fb051a905f0 100644 (file)
@@ -1,32 +1,8 @@
 # $Id$ $Revision$
-## Process this file with cmake to produce Makefile
 
-INCLUDE( UsePkgConfig )
+INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake)
+INCLUDE(${gvplugin_pango_SRCDIR}/sources.cmake)
 
-PKGCONFIG( pangocairo PANGOCAIRO_INCLUDE_DIR PANGOCAIRO_LIB_DIR PANGOCAIRO_LINK_FLAGS PANGOCAIRO_CFLAGS )
-
-INCLUDE_DIRECTORIES(
-       ${CMAKE_CURRENT_SOURCE_DIR}
-       ${CMAKE_SOURCE_DIR}
-       ${CMAKE_SOURCE_DIR}/lib/common
-       ${CMAKE_SOURCE_DIR}/lib/cdt
-       ${CMAKE_SOURCE_DIR}/lib/graph
-       ${CMAKE_SOURCE_DIR}/lib/pathplan
-       ${CMAKE_SOURCE_DIR}/lib/gvc
-       ${PANGOCAIRO_INCLUDE_DIR}
-)
-
-########### next target ###############
-
-ADD_DEFINITIONS(${PANGOCAIRO_CFLAGS})
-SET(gvplugin_pango_SRCS
-    gvplugin_pango.c
-    gvrender_pango.c
-    gvtextlayout_pango.c
-    gvloadimage_pango.c
-)
 ADD_LIBRARY(gvplugin_pango MODULE ${gvplugin_pango_SRCS})
 
 ADD_LIBRARY(gvplugin_pango_static STATIC ${gvplugin_pango_SRCS})
-
-########### install files ###############