|
1 | | -# Boost Filesystem Library Example Jamfile |
| 1 | +# Copyright 2024 Andrey Semashev |
| 2 | +# |
| 3 | +# Distributed under the Boost Software License, Version 1.0. |
| 4 | +# (See accompanying file LICENSE_1_0.txt or copy at |
| 5 | +# https://www.boost.org/LICENSE_1_0.txt) |
2 | 6 |
|
3 | | -# Copyright Beman Dawes 2010 |
| 7 | +using quickbook ; |
| 8 | +using boostbook ; |
| 9 | +using doxygen ; |
| 10 | +using xsltproc ; |
4 | 11 |
|
5 | | -# Distributed under the Boost Software License, Version 1.0. |
6 | | -# See www.boost.org/LICENSE_1_0.txt |
| 12 | +import set ; |
| 13 | +import doxygen ; |
| 14 | +import xsltproc ; |
| 15 | +import notfile ; |
| 16 | +import path ; |
| 17 | +import project ; |
| 18 | + |
| 19 | +project boost/libs/filesystem/doc ; |
| 20 | + |
| 21 | +local doxygen_params = |
| 22 | + <doxygen:param>RECURSIVE=YES |
| 23 | + <doxygen:param>ALPHABETICAL_INDEX=YES |
| 24 | + <doxygen:param>REPEAT_BRIEF=YES |
| 25 | + <doxygen:param>ALWAYS_DETAILED_SEC=YES |
| 26 | + <doxygen:param>BRIEF_MEMBER_DESC=NO |
| 27 | + <doxygen:param>ABBREVIATE_BRIEF=YES |
| 28 | + <doxygen:param>INHERIT_DOCS=YES |
| 29 | + <doxygen:param>HIDE_UNDOC_MEMBERS=YES |
| 30 | + <doxygen:param>HIDE_UNDOC_CLASSES=YES |
| 31 | + <doxygen:param>HIDE_SCOPE_NAMES=YES |
| 32 | + <doxygen:param>AUTOLINK_SUPPORT=YES |
| 33 | + <doxygen:param>DISTRIBUTE_GROUP_DOC=NO |
| 34 | + <doxygen:param>SUBGROUPING=NO |
| 35 | + <doxygen:param>EXTRACT_ALL=NO |
| 36 | + <doxygen:param>EXTRACT_PRIVATE=NO |
| 37 | + <doxygen:param>BUILTIN_STL_SUPPORT=YES |
| 38 | + <doxygen:param>ENABLE_PREPROCESSING=YES |
| 39 | + <doxygen:param>MACRO_EXPANSION=YES |
| 40 | + <doxygen:param>SHORT_NAMES=YES |
| 41 | + <doxygen:param>TAB_SIZE=4 |
| 42 | + <doxygen:param>SOURCE_BROWSER=YES |
| 43 | + <doxygen:param>VERBATIM_HEADERS=NO |
| 44 | +# <doxygen:param>SEARCH_INCLUDES=YES |
| 45 | +# <doxygen:param>"INCLUDE_PATH=../../.." |
| 46 | +# <doxygen:param>EXCLUDE_SYMBOLS="detail detail::*" |
| 47 | + <doxygen:param>"PREDEFINED=BOOST_FILESYSTEM_DOXYGEN \\ |
| 48 | + BOOST_FILESYSTEM_DECL= \\ |
| 49 | + BOOST_FILESYSTEM_DETAIL_DOC_ALT(alt, ...)=alt \\ |
| 50 | + BOOST_FILESYSTEM_DETAIL_DOC_HIDDEN(...)=... \\ |
| 51 | + BOOST_FILESYSTEM_DETAIL_DOC(...)=__VA_ARGS__ \\ |
| 52 | + BOOST_NO_CXX17_DEDUCTION_GUIDES=1 \\ |
| 53 | + BOOST_BITMASK(x)= \\ |
| 54 | + BOOST_SYMBOL_VISIBLE= \\ |
| 55 | + BOOST_FORCEINLINE=inline \\ |
| 56 | + BOOST_INLINE_VARIABLE=inline \\ |
| 57 | + BOOST_NOEXCEPT=noexcept \\ |
| 58 | + BOOST_CONSTEXPR=constexpr \\ |
| 59 | + BOOST_CXX14_CONSTEXPR=constexpr" |
| 60 | + <xsl:param>"boost.doxygen.detailns=detail" |
| 61 | + ; |
| 62 | + |
| 63 | + |
| 64 | +doxygen path_reference |
| 65 | + : |
| 66 | + ../../../boost/filesystem/path.hpp |
| 67 | + : |
| 68 | + $(doxygen_params) |
| 69 | + <xsl:param>"boost.doxygen.reftitle=Path Reference" |
| 70 | + <xsl:param>"boost.doxygen.refid=path" |
| 71 | + ; |
| 72 | + |
| 73 | +doxygen operations_reference |
| 74 | + : |
| 75 | + ../../../boost/filesystem/operations.hpp |
| 76 | + : |
| 77 | + $(doxygen_params) |
| 78 | + <xsl:param>"boost.doxygen.reftitle=Filesystem Operations" |
| 79 | + <xsl:param>"boost.doxygen.refid=operations" |
| 80 | + ; |
7 | 81 |
|
8 | | -# Library home page: http://www.boost.org/libs/filesystem |
| 82 | +doxygen directory_reference |
| 83 | + : |
| 84 | + ../../../boost/filesystem/directory.hpp |
| 85 | + : |
| 86 | + $(doxygen_params) |
| 87 | + <xsl:param>"boost.doxygen.reftitle=Directory Iteration" |
| 88 | + <xsl:param>"boost.doxygen.refid=directory" |
| 89 | + ; |
9 | 90 |
|
10 | | -project |
11 | | - : requirements |
12 | | - <library>/boost/filesystem//boost_filesystem |
13 | | - <link>static |
| 91 | +doxygen file_status_reference |
| 92 | + : |
| 93 | + ../../../boost/filesystem/file_status.hpp |
| 94 | + : |
| 95 | + $(doxygen_params) |
| 96 | + <xsl:param>"boost.doxygen.reftitle=File Status" |
| 97 | + <xsl:param>"boost.doxygen.refid=file_status" |
14 | 98 | ; |
15 | 99 |
|
16 | | -exe path_table : path_table.cpp ; |
17 | | -install path_table-copy : path_table : <location>. ; |
| 100 | +doxygen exception_reference |
| 101 | + : |
| 102 | + ../../../boost/filesystem/exception.hpp |
| 103 | + : |
| 104 | + $(doxygen_params) |
| 105 | + <xsl:param>"boost.doxygen.reftitle=Exceptions" |
| 106 | + <xsl:param>"boost.doxygen.refid=exceptions" |
| 107 | + ; |
| 108 | + |
| 109 | +doxygen io_reference |
| 110 | + : |
| 111 | + ../../../boost/filesystem/cstdio.hpp |
| 112 | + ../../../boost/filesystem/fstream.hpp |
| 113 | + : |
| 114 | + $(doxygen_params) |
| 115 | + <xsl:param>"boost.doxygen.reftitle=I/O Utilities" |
| 116 | + <xsl:param>"boost.doxygen.refid=io_utilities" |
| 117 | + ; |
| 118 | + |
| 119 | +xml filesystem_doc |
| 120 | + : |
| 121 | + filesystem.qbk |
| 122 | + : |
| 123 | + <dependency>path_reference |
| 124 | + <dependency>operations_reference |
| 125 | + <dependency>directory_reference |
| 126 | + <dependency>file_status_reference |
| 127 | + <dependency>exception_reference |
| 128 | + <dependency>io_reference |
| 129 | + ; |
| 130 | + |
| 131 | +boostbook filesystem |
| 132 | + : |
| 133 | + filesystem_doc |
| 134 | + : |
| 135 | + <xsl:param>"boost.root=../../../.." |
| 136 | + <xsl:param>"boost.libraries=../../../libs/libraries.htm" |
| 137 | + <xsl:param>"nav.layout=none" |
| 138 | + <xsl:param>"boost.image=Boost" |
| 139 | + <xsl:param>"navig.graphics=1" |
| 140 | + <xsl:param>"chunk.section.depth=1" |
| 141 | + <xsl:param>"boost.compact.function=0" |
| 142 | + <format>pdf:<xsl:param>"boost.url.prefix=https://www.boost.org/doc/libs/release/libs/filesystem/doc/html" |
| 143 | + ; |
18 | 144 |
|
19 | 145 | ############################################################################### |
20 | 146 | alias boostdoc ; |
21 | 147 | explicit boostdoc ; |
22 | | -alias boostrelease ; |
| 148 | +alias boostrelease : filesystem ; |
23 | 149 | explicit boostrelease ; |
0 commit comments