From d56451bf6e6e77ec195679c1d3f188a65a94f156 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 23 Jun 2006 03:11:20 +0000 Subject: [PATCH] Experimenting with cmake - which claims to replace autoconf,automake,libtool and be more portable --- cmd/lefty/os/unix/.cvsignore | 1 + cmd/lefty/os/unix/CMakeLists.txt | 38 ++++++++++++++++++++++++++++++++ cmd/lefty/ws/.cvsignore | 1 + cmd/lefty/ws/CMakeLists.txt | 21 ++++++++++++++++++ cmd/lefty/ws/gtk/.cvsignore | 3 +++ 5 files changed, 64 insertions(+) create mode 100644 cmd/lefty/os/unix/CMakeLists.txt create mode 100644 cmd/lefty/ws/CMakeLists.txt create mode 100644 cmd/lefty/ws/gtk/.cvsignore 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 -- 2.50.0