From: ellson Date: Fri, 23 Jun 2006 03:11:20 +0000 (+0000) Subject: Experimenting with cmake - which claims to replace autoconf,automake,libtool and... X-Git-Tag: LAST_LIBGRAPH~32^2~6370 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d56451bf6e6e77ec195679c1d3f188a65a94f156;p=graphviz Experimenting with cmake - which claims to replace autoconf,automake,libtool and be more portable --- diff --git a/cmd/lefty/os/unix/.cvsignore b/cmd/lefty/os/unix/.cvsignore index 9fb985742..2ae581798 100644 --- a/cmd/lefty/os/unix/.cvsignore +++ b/cmd/lefty/os/unix/.cvsignore @@ -4,3 +4,4 @@ .libs Makefile Makefile.in +CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake diff --git a/cmd/lefty/os/unix/CMakeLists.txt b/cmd/lefty/os/unix/CMakeLists.txt new file mode 100644 index 000000000..8f671356d --- /dev/null +++ b/cmd/lefty/os/unix/CMakeLists.txt @@ -0,0 +1,38 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/cmd/lefty +) + + +########### next target ############### + +SET(os_SRCS + io.c +) + +ADD_LIBRARY(os STATIC ${os_SRCS}) + + +########### install files ############### + + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#AM_CPPFLAGS = -I$(top_srcdir)/cmd/lefty +# +#if WITH_X +#noinst_LTLIBRARIES = libos.la +#endif +# +#libos_la_SOURCES = io.c +# +#EXTRA_DIST = $(libos_la_SOURCES) diff --git a/cmd/lefty/ws/.cvsignore b/cmd/lefty/ws/.cvsignore index 9fb985742..2ae581798 100644 --- a/cmd/lefty/ws/.cvsignore +++ b/cmd/lefty/ws/.cvsignore @@ -4,3 +4,4 @@ .libs Makefile Makefile.in +CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake diff --git a/cmd/lefty/ws/CMakeLists.txt b/cmd/lefty/ws/CMakeLists.txt new file mode 100644 index 000000000..fd4c17d0d --- /dev/null +++ b/cmd/lefty/ws/CMakeLists.txt @@ -0,0 +1,21 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +ADD_SUBDIRECTORY( x11 ) +ADD_SUBDIRECTORY( mswin32 ) +ADD_SUBDIRECTORY( none ) + + +########### install files ############### + + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#SUBDIRS = x11 +# +#EXTRA_DIST = mswin32 gtk none diff --git a/cmd/lefty/ws/gtk/.cvsignore b/cmd/lefty/ws/gtk/.cvsignore new file mode 100644 index 000000000..4c902cf36 --- /dev/null +++ b/cmd/lefty/ws/gtk/.cvsignore @@ -0,0 +1,3 @@ +Makefile.in +Makefile +CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake