Changes between Version 2 and Version 3 of CMakeLibraryProject


Ignore:
Timestamp:
May 23, 2008, 3:26:05 AM (14 years ago)
Author:
Douglas Gregor
Comment:

Document MODULAR, MAINTAINERS, AUTHORS, and DESCRIPTION options

Legend:

Unmodified
Added
Removed
Modified
  • CMakeLibraryProject

    v2 v3  
    66boost_library_project(libname
    77                      [SRCDIRS srcdir1 srcdir2 ...]
    8                       [TESTDIRS testdir1 testdir2 ...])
     8                      [TESTDIRS testdir1 testdir2 ...]
     9                      [DESCRIPTION description]
     10                      [AUTHORS author1 author2 ...]
     11                      [MAINTAINERS maint1 maint2 ...]
     12                      [MODULAR])
    913}}}
    1014
     
    1418binaries), and `testdir1`, `testdir2`, etc, are subdirectories
    1519containing regression tests.
     20
     21A library marked MODULAR has all of its header files in its own
     22subdirectory include/boost rather than the "global" boost
     23subdirectory. These libraries can be added or removed from the tree
     24freely; they do not need to be a part of the main repository.
     25 
     26DESCRIPTION provides a brief description of the library, which can
     27be used to summarize the behavior of the library for a user. AUTHORS
     28lists the authors of the library, while MAINTAINERS lists the active
     29maintainers. If MAINTAINERS is left empty, it is assumed that the
     30authors are still maintaining the library. Both authors and maintainers
     31should have their name followed by their current e-mail address in
     32angle brackets, with -at- instead of the at sign, e.g.,
     33  Douglas Gregor <doug.gregor -at- gmail.com>
    1634
    1735For libraries that build actual library binaries, this macro adds a
     
    3351  Thread
    3452  SRCDIRS src
    35   TESTDIRS test
     53  TESTDIRS test
     54  DESCRIPTION "Portable threading"
     55  AUTHORS "Anthony Williams <anthony -at- justsoftwaresolutions.co.uk">
    3656  )
    3757}}}
    3858
    39 This example is from [http://svn.boost.org/svn/boost/sandbox-branches/boost-cmake/boost_1_34_0/libs/thread/CMakeLists.txt libs/thread/CMakeLists.txt].
    40 
    4159== Where Defined ==
    42 This macro is defined in the Boost Core module in [http://svn.boost.org/svn/boost/sandbox-branches/boost-cmake/boost_1_34_0/tools/build/CMake/BoostCore.cmake tools/build/CMake/BoostCore.cmake]
     60This macro is defined in the Boost Core module in [http://svn.boost.org/svn/boost/sandbox/CMake/release/tools/build/CMake/BoostCore.cmake tools/build/CMake/BoostCore.cmake]