Add contrib dir (#401)
authorAlpar Juttner <alpar@cs.elte.hu>
Fri, 03 Dec 2010 13:26:38 +0100 (2010-12-03)
changeset 92506491fd08efd
parent 924 a80381c43760
child 930 8e39ccaabf48
Add contrib dir (#401)
CMakeLists.txt
contrib/CMakeLists.txt
doc/Doxyfile.in
doc/dirs.dox
     1.1 --- a/CMakeLists.txt	Mon Feb 28 10:19:34 2011 +0100
     1.2 +++ b/CMakeLists.txt	Fri Dec 03 13:26:38 2010 +0100
     1.3 @@ -124,6 +124,7 @@
     1.4  
     1.5  ADD_SUBDIRECTORY(lemon)
     1.6  IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR})
     1.7 +  ADD_SUBDIRECTORY(contrib)
     1.8    ADD_SUBDIRECTORY(demo)
     1.9    ADD_SUBDIRECTORY(tools)
    1.10    ADD_SUBDIRECTORY(doc)
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/contrib/CMakeLists.txt	Fri Dec 03 13:26:38 2010 +0100
     2.3 @@ -0,0 +1,19 @@
     2.4 +INCLUDE_DIRECTORIES(
     2.5 +  ${PROJECT_SOURCE_DIR}
     2.6 +  ${PROJECT_BINARY_DIR}
     2.7 +)
     2.8 +
     2.9 +LINK_DIRECTORIES(
    2.10 +  ${PROJECT_BINARY_DIR}/lemon
    2.11 +)
    2.12 +
    2.13 +# Uncomment (and adjust) the following two lines. 'myprog' is the name
    2.14 +# of the final executable ('.exe' will automatically be added to the
    2.15 +# name on Windows) and 'myprog-main.cc' is the source code it is
    2.16 +# compiled from. You can add more source files separated by
    2.17 +# whitespaces. Moreover, you can add multiple similar blocks if you
    2.18 +# want to build more than one executables.
    2.19 +
    2.20 +# ADD_EXECUTABLE(myprog myprog-main.cc)
    2.21 +# TARGET_LINK_LIBRARIES(myprog lemon)
    2.22 +
     3.1 --- a/doc/Doxyfile.in	Mon Feb 28 10:19:34 2011 +0100
     3.2 +++ b/doc/Doxyfile.in	Fri Dec 03 13:26:38 2010 +0100
     3.3 @@ -89,6 +89,7 @@
     3.4                           "@abs_top_srcdir@/lemon/bits" \
     3.5                           "@abs_top_srcdir@/lemon/concepts" \
     3.6                           "@abs_top_srcdir@/demo" \
     3.7 +                         "@abs_top_srcdir@/contrib" \
     3.8                           "@abs_top_srcdir@/tools" \
     3.9                           "@abs_top_srcdir@/test/test_tools.h" \
    3.10                           "@abs_top_builddir@/doc/references.dox"
     4.1 --- a/doc/dirs.dox	Mon Feb 28 10:19:34 2011 +0100
     4.2 +++ b/doc/dirs.dox	Fri Dec 03 13:26:38 2010 +0100
     4.3 @@ -33,6 +33,19 @@
     4.4  */
     4.5  
     4.6  /**
     4.7 +\dir contrib
     4.8 +\brief Directory for user contributed source codes.
     4.9 +
    4.10 +You can place your own C++ code using LEMON into this directory, which
    4.11 +will compile to an executable along with LEMON when you build the
    4.12 +library. This is probably the easiest way of compiling short to medium
    4.13 +codes, for this does require neither a LEMON installed system-wide nor
    4.14 +adding several paths to the compiler.
    4.15 +
    4.16 +Please have a look at <tt>contrib/CMakeLists.txt</tt> for
    4.17 +instruction on how to add your own files into the build process.  */
    4.18 +
    4.19 +/**
    4.20  \dir test
    4.21  \brief Test programs.
    4.22