diff options
author | Daniel Elstner <danielk@openismus.com> | 2009-09-15 11:26:41 +0200 |
---|---|---|
committer | Daniel Elstner <danielk@openismus.com> | 2009-09-15 11:26:41 +0200 |
commit | 3f5ab01b536100c16fe2696bbdeb3af9de03cc0f (patch) | |
tree | 21f4b171a0937ef441f0af10798f1fed4742e6a1 /skeletonmm | |
parent | f721ebf065ecf3bb4320be7641d47c58eb90d859 (diff) | |
download | mm-common-3f5ab01b536100c16fe2696bbdeb3af9de03cc0f.tar.gz |
Add examples/ directory to skeletonmm source tree
* skeletonmm/examples/: New skeleton subdirectory for code examples.
* skeletonmm/skeleton/skeletonmm.h: New single include header.
* skeletonmm/configure.ac (AC_CONFIG_FILES): List examples/Makefile.
* skeletonmm/Makefile.am (skeletonmm_include_HEADERS): Distribute and
install the skeleton/skeletonmm.h single include header.
* skeletonmm/doc/reference/Doxyfile.in: Update for Doxygen 1.6.1.
(EXAMPLE_*): Correct accidentally renamed variables.
(EXAMPLE_PATH): Point to skeleton examples subdirectory.
(EXAMPLE_RECURSIVE): Enable.
(SORT_MEMBERS_CTORS_1ST): Enable.
* Makefile.am (nobase_dist_doc_DATA): List new skeleton files.
Diffstat (limited to 'skeletonmm')
-rw-r--r-- | skeletonmm/Makefile.am | 5 | ||||
-rw-r--r-- | skeletonmm/configure.ac | 1 | ||||
-rw-r--r-- | skeletonmm/doc/reference/Doxyfile.in | 18 | ||||
-rw-r--r-- | skeletonmm/examples/.gitignore | 1 | ||||
-rw-r--r-- | skeletonmm/examples/Makefile.am | 29 | ||||
-rw-r--r-- | skeletonmm/examples/example/example.cc | 29 | ||||
-rw-r--r-- | skeletonmm/skeleton/skeletonmm.h | 25 |
7 files changed, 97 insertions, 11 deletions
diff --git a/skeletonmm/Makefile.am b/skeletonmm/Makefile.am index 386f1a1..5fe4872 100644 --- a/skeletonmm/Makefile.am +++ b/skeletonmm/Makefile.am @@ -28,7 +28,10 @@ doc_subdirs = doc else doc_subdirs = endif -SUBDIRS = $(src_subdirs) skeleton/skeletonmm $(doc_subdirs) +SUBDIRS = $(src_subdirs) skeleton/skeletonmm examples $(doc_subdirs) + +skeletonmm_includedir = $(includedir)/$(SKELETONMM_MODULE_NAME) +skeletonmm_include_HEADERS = skeleton/skeletonmm.h skeletonmm_libincludedir = $(libdir)/$(SKELETONMM_MODULE_NAME)/include nodist_skeletonmm_libinclude_HEADERS = skeleton/skeletonmmconfig.h diff --git a/skeletonmm/configure.ac b/skeletonmm/configure.ac index 21ea9d2..961984f 100644 --- a/skeletonmm/configure.ac +++ b/skeletonmm/configure.ac @@ -61,6 +61,7 @@ AC_CONFIG_FILES([Makefile skeleton/${SKELETONMM_MODULE_NAME}-uninstalled.pc:skeleton/skeletonmm-uninstalled.pc.in skeleton/src/Makefile skeleton/skeletonmm/Makefile + examples/Makefile doc/Makefile doc/reference/Doxyfile]) AC_OUTPUT diff --git a/skeletonmm/doc/reference/Doxyfile.in b/skeletonmm/doc/reference/Doxyfile.in index 6417496..c3d5f07 100644 --- a/skeletonmm/doc/reference/Doxyfile.in +++ b/skeletonmm/doc/reference/Doxyfile.in @@ -1,4 +1,4 @@ -# Doxyfile 1.5.8 +# Doxyfile 1.6.1 # @configure_input@ #--------------------------------------------------------------------------- @@ -65,6 +65,7 @@ SHOW_INCLUDE_FILES = NO INLINE_INFO = YES SORT_MEMBER_DOCS = YES SORT_BRIEF_DOCS = NO +SORT_MEMBERS_CTORS_1ST = YES SORT_GROUP_NAMES = YES SORT_BY_SCOPE_NAME = YES GENERATE_TODOLIST = NO @@ -100,8 +101,6 @@ EXCLUDE = EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = EXCLUDE_SYMBOLS = _* \ - SkeletonDimensionData \ - SkeletonPositionData \ adaptor_trait \ basic_filebuf \ basic_streambuf \ @@ -110,10 +109,10 @@ EXCLUDE_SYMBOLS = _* \ internal \ pair \ unary_function -SKELETON_PATH = -SKELETON_PATTERNS = *.cc \ +EXAMPLE_PATH = "@abs_top_srcdir@/examples" +EXAMPLE_PATTERNS = *.cc \ *.h -SKELETON_RECURSIVE = NO +EXAMPLE_RECURSIVE = YES IMAGE_PATH = INPUT_FILTER = FILTER_PATTERNS = @@ -167,8 +166,10 @@ QHG_LOCATION = DISABLE_INDEX = NO ENUM_VALUES_PER_LINE = 1 GENERATE_TREEVIEW = NONE +USE_INLINE_TREES = NO TREEVIEW_WIDTH = 250 FORMULA_FONTSIZE = 10 +SEARCHENGINE = NO #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- @@ -184,6 +185,7 @@ PDF_HYPERLINKS = YES USE_PDFLATEX = YES LATEX_BATCHMODE = NO LATEX_HIDE_INDICES = NO +LATEX_SOURCE_CODE = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- @@ -279,7 +281,3 @@ DOT_TRANSPARENT = NO DOT_MULTI_TARGETS = YES GENERATE_LEGEND = YES DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Options related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO diff --git a/skeletonmm/examples/.gitignore b/skeletonmm/examples/.gitignore new file mode 100644 index 0000000..d4109ac --- /dev/null +++ b/skeletonmm/examples/.gitignore @@ -0,0 +1 @@ +/example/example diff --git a/skeletonmm/examples/Makefile.am b/skeletonmm/examples/Makefile.am new file mode 100644 index 0000000..658aeb9 --- /dev/null +++ b/skeletonmm/examples/Makefile.am @@ -0,0 +1,29 @@ +## Copyright (c) 2009 Joe Hacker <joe@example.com> +## +## This file is part of skeletonmm. +## +## skeletonmm is free software: you can redistribute it and/or modify it +## under the terms of the GNU Lesser General Public License as published +## by the Free Software Foundation, either version 2.1 of the License, +## or (at your option) any later version. +## +## skeletonmm is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +## See the GNU Lesser General Public License for more details. +## +## You should have received a copy of the GNU Lesser General Public License +## along with this program. If not, see <http://www.gnu.org/licenses/>. + +AUTOMAKE_OPTIONS = subdir-objects + +check_PROGRAMS = example/example + +local_includes = -I$(top_builddir)/skeleton $(if $(srcdir:.=),-I$(top_srcdir)/skeleton) +local_libs = $(top_builddir)/skeleton/skeletonmm/libskeletonmm-$(GLIBMM_API_VERSION).la + +AM_CPPFLAGS = -I$(top_builddir) $(local_includes) $(GTHREAD_CFLAGS) $(SKELETONMM_CFLAGS) +AM_CXXFLAGS = $(SKELETONMM_WXXFLAGS) +LDADD = $(SKELETONMM_LIBS) $(local_libs) + +example_example_SOURCES = example/example.cc diff --git a/skeletonmm/examples/example/example.cc b/skeletonmm/examples/example/example.cc new file mode 100644 index 0000000..e84572c --- /dev/null +++ b/skeletonmm/examples/example/example.cc @@ -0,0 +1,29 @@ +/* Copyright (c) 2009 Joe Hacker <joe@example.com> + * + * This file is part of skeletonmm. + * + * skeletonmm is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 2.1 of the License, + * or (at your option) any later version. + * + * skeletonmm is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include <skeletonmm.h> + +namespace +{ + +} // anonymous namespace + +int main(int, char**) +{ + return 0; +} diff --git a/skeletonmm/skeleton/skeletonmm.h b/skeletonmm/skeleton/skeletonmm.h new file mode 100644 index 0000000..f6cbb91 --- /dev/null +++ b/skeletonmm/skeleton/skeletonmm.h @@ -0,0 +1,25 @@ +/* Copyright (c) 2009 Joe Hacker <joe@example.com> + * + * This file is part of skeletonmm. + * + * skeletonmm is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 2.1 of the License, + * or (at your option) any later version. + * + * skeletonmm is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef SKELETONMM_H_INCLUDED +#define SKELETONMM_H_INCLUDED + +#include <skeletonmmconfig.h> +#include <skeletonmm/skeleton.h> + +#endif /* !SKELETONMM_H_INCLUDED */ |