# $Id$ $Revision$
## Process this file with cmake to produce Makefile
+INCLUDE( UsePkgConfig )
+
+PKGCONFIG( pangocairo PANGOCAIRO_INCLUDE_DIR PANGOCAIRO_LIB_DIR PANGOCAIRO_LINK_FLAGS PANGOCAIRO_CFLAGS )
+
+
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}/lib/pathplan
${CMAKE_BINARY_DIR}/lib/graph
${CMAKE_BINARY_DIR}/lib/cdt
+ $(PANGOCAIRO_LIB_DIR)
)
TARGET_LINK_LIBRARIES(dot
common
gvc
+ codegen
pathplan
graph
cdt
+ gvgd
+ fontconfig
+ freetype
+ png
+ jpeg
+ z
+ expat
+ ltdl
+ m
)
INSTALL_TARGETS(/bin dot )
SET(dot_static_SRCS
dot.c
+ ${CMAKE_SOURCE_DIR}/lib/gvc/dot_builtins.c
${CMAKE_SOURCE_DIR}/lib/gvc/no_demand_loading.c
)
ADD_EXECUTABLE(dot_static ${dot_static_SRCS})
-#TARGET_LINK_LIBRARIES(dot_static ${QT_AND_KDECORE_LIBS} )
+TARGET_LINK_LIBRARIES(dot_static
+ common
+ gvc_builtins
+ codegen
+ pathplan
+ graph
+ cdt
+ gvplugin_dot_layout_static
+ gvplugin_neato_layout_static
+ gvplugin_pango_static
+ gvplugin_gd_static
+ gvplugin_core_static
+ gvgd
+ pango
+ cairo
+ glib
+ fontconfig
+ freetype
+ png
+ jpeg
+ z
+ expat
+ ltdl
+ m
+)
INSTALL_TARGETS(/bin dot_static )
########### next target ###############
-SET(dot_SRCS
- dummy.cpp
-)
-
-FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
-ADD_EXECUTABLE(dot ${dot_SRCS})
-
-#TARGET_LINK_LIBRARIES(dot ${QT_AND_KDECORE_LIBS} )
-
-INSTALL_TARGETS(/bin dot )
+#SET(dot_SRCS
+# dummy.cpp
+#)
+#
+#FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
+#ADD_EXECUTABLE(dot ${dot_SRCS})
+#
+#TARGET_LINK_LIBRARIES(dot
+# common
+# gvc
+# pathplan
+# graph
+# cdt
+#)
+#
+#INSTALL_TARGETS(/bin dot )
########### install files ###############