Changes between Version 2 and Version 3 of CMakeLibraryProject
- Timestamp:
- May 23, 2008, 3:26:05 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMakeLibraryProject
v2 v3 6 6 boost_library_project(libname 7 7 [SRCDIRS srcdir1 srcdir2 ...] 8 [TESTDIRS testdir1 testdir2 ...]) 8 [TESTDIRS testdir1 testdir2 ...] 9 [DESCRIPTION description] 10 [AUTHORS author1 author2 ...] 11 [MAINTAINERS maint1 maint2 ...] 12 [MODULAR]) 9 13 }}} 10 14 … … 14 18 binaries), and `testdir1`, `testdir2`, etc, are subdirectories 15 19 containing regression tests. 20 21 A library marked MODULAR has all of its header files in its own 22 subdirectory include/boost rather than the "global" boost 23 subdirectory. These libraries can be added or removed from the tree 24 freely; they do not need to be a part of the main repository. 25 26 DESCRIPTION provides a brief description of the library, which can 27 be used to summarize the behavior of the library for a user. AUTHORS 28 lists the authors of the library, while MAINTAINERS lists the active 29 maintainers. If MAINTAINERS is left empty, it is assumed that the 30 authors are still maintaining the library. Both authors and maintainers 31 should have their name followed by their current e-mail address in 32 angle brackets, with -at- instead of the at sign, e.g., 33 Douglas Gregor <doug.gregor -at- gmail.com> 16 34 17 35 For libraries that build actual library binaries, this macro adds a … … 33 51 Thread 34 52 SRCDIRS src 35 TESTDIRS test 53 TESTDIRS test 54 DESCRIPTION "Portable threading" 55 AUTHORS "Anthony Williams <anthony -at- justsoftwaresolutions.co.uk"> 36 56 ) 37 57 }}} 38 58 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 41 59 == 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]60 This 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]