]> granicus.if.org Git - graphviz/commitdiff
Experimenting with cmake - which claims to replace autoconf,automake,libtool and...
authorellson <devnull@localhost>
Fri, 23 Jun 2006 03:11:21 +0000 (03:11 +0000)
committerellson <devnull@localhost>
Fri, 23 Jun 2006 03:11:21 +0000 (03:11 +0000)
contrib/diffimg/CMakeLists.txt [new file with mode: 0644]

diff --git a/contrib/diffimg/CMakeLists.txt b/contrib/diffimg/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8764158
--- /dev/null
@@ -0,0 +1,52 @@
+# $Id$ $Revision$
+## Process this file with cmake to produce Makefile
+
+INCLUDE_DIRECTORIES(
+       ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+
+########### next target ###############
+
+SET(diffimg_SRCS
+       diffimg.c
+)
+
+ADD_EXECUTABLE(diffimg ${diffimg_SRCS})
+
+#TARGET_LINK_LIBRARIES(diffimg  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+## $Id$ $Revision$
+### Process this file with automake to produce Makefile.in
+#
+#VERSION=0.2
+#
+#AM_CPPFLAGS = @GD_INCLUDES@
+#
+#if WITH_LIBGD
+#noinst_PROGRAMS = diffimg
+#endif
+#
+#diffimg_SOURCES = diffimg.c
+#
+#diffimg_LDADD = @GD_LIBS@
+#
+#GRAPH = "digraph G { hello -> world }"
+#
+#test: diffimg
+#      echo $(GRAPH) | dot -Tpng:cg >hello1.png
+#      echo $(GRAPH) | dot -Tpng:cg >hello2.png
+#      if `./diffimg hello1.png hello2.png >test1.png`;then echo same;else echo different;fi
+#      echo $(GRAPH) | dot -Grankdir=LR -Tpng:cg >hello2.png
+#      if `./diffimg hello1.png hello2.png >test2.png`;then echo same;else echo different;fi
+#
+#CLEANFILES = *.png
+#