]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Copyright (c) 2014 Renato Tegon Forti, Antony Polukhin. |
2 | # Copyright (c) 2015-2016 Antony Polukhin. | |
3 | # | |
4 | # Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | ||
7 | using quickbook ; | |
8 | using boostbook ; | |
9 | using doxygen ; | |
10 | using xsltproc ; | |
11 | ||
12 | import set ; | |
13 | import doxygen ; | |
14 | import xsltproc ; | |
15 | import notfile ; | |
16 | import path ; | |
17 | ||
18 | project dll/doc ; | |
19 | ||
20 | # | |
21 | # Common params for doxygen | |
22 | # | |
23 | ||
24 | local doxygen_params = | |
25 | <doxygen:param>HIDE_UNDOC_MEMBERS=YES | |
26 | <doxygen:param>HIDE_UNDOC_CLASSES=YES | |
27 | <doxygen:param>HIDE_SCOPE_NAMES=YES | |
28 | <doxygen:param>EXTRACT_ALL=NO | |
29 | <doxygen:param>EXTRACT_PRIVATE=NO | |
30 | <doxygen:param>BUILTIN_STL_SUPPORT=YES | |
31 | <doxygen:param>ENABLE_PREPROCESSING=YES | |
32 | <doxygen:param>MACRO_EXPANSION=YES | |
33 | <doxygen:param>"ALIASES= \\ | |
34 | \"forcedlink{1}=\\xmlonly<link linkend='boost.dll.\\1'>boost::dll::\\1</link>\\endxmlonly\" \\ | |
35 | \"forcedmacrolink{1}=\\xmlonly<link linkend='\\1'>\\1</link>\\endxmlonly\" " | |
36 | <doxygen:param>"PREDEFINED= \\ | |
37 | \"BOOST_RV_REF(T)=T&&\" \\ | |
38 | \"BOOST_RV_REF(shared_library)=shared_library&&\" \\ | |
39 | \"BOOST_COPY_ASSIGN_REF(shared_library)=const shared_library&\" \\ | |
40 | \"BOOST_MOVABLE_BUT_NOT_COPYABLE(shared_library)= \\ | |
41 | shared_library(const shared_library&) = delete; \\ | |
42 | shared_library& operator=(const shared_library&) = delete; \" \\ | |
43 | \"BOOST_DLL_IMPORT_RESULT_TYPE=result_type\" \\ | |
44 | \"BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE=result_type\" \\ | |
45 | \"BOOST_EXPLICIT_OPERATOR_BOOL()=explicit operator bool() const noexcept;\" \\ | |
46 | \"BOOST_DLL_DOXYGEN\" " | |
47 | ; | |
48 | ||
49 | # | |
50 | # Ref Sessions Generation | |
51 | # | |
52 | doxygen autodoc_shared_library_core | |
53 | : | |
54 | [ glob | |
55 | ../include/boost/dll/shared_library.hpp | |
56 | ../include/boost/dll/shared_library_load_mode.hpp | |
57 | ../include/boost/dll/library_info.hpp | |
58 | ../include/boost/dll/runtime_symbol_info.hpp | |
59 | ../include/boost/dll/alias.hpp | |
60 | ||
61 | ../include/boost/dll/smart_library.hpp | |
62 | ] | |
63 | : | |
64 | $(doxygen_params) | |
65 | <xsl:param>"boost.doxygen.reftitle=Shared Library Reference" | |
66 | ; | |
67 | ||
68 | doxygen autodoc_shared_library_refcountable | |
69 | : | |
70 | [ glob | |
71 | ../include/boost/dll/import.hpp | |
72 | ../include/boost/dll/import_class.hpp | |
73 | ../include/boost/dll/import_mangled.hpp | |
74 | ] | |
75 | : | |
76 | $(doxygen_params) | |
77 | <xsl:param>"boost.doxygen.reftitle=Shared Library Refcountable Reference" | |
78 | ; | |
79 | ||
80 | # | |
81 | # Docs Generation | |
82 | # | |
83 | boostbook dll-doc | |
84 | : | |
85 | dll.qbk | |
86 | : | |
87 | <dependency>autodoc_shared_library_core | |
88 | <dependency>autodoc_shared_library_refcountable | |
89 | <xsl:param>boost.root=http://www.boost.org/doc/libs/1_60_0 | |
90 | #<xsl:param>boost.root=../../../. | |
91 | <xml:param>html.stylesheet=../../../../doc/src/boostbook.css | |
92 | ; | |
93 | ||
94 | ############################################################################### | |
95 | alias boostdoc | |
96 | : dll-doc/<format>docbook | |
97 | : | |
98 | : | |
99 | : ; | |
100 | explicit boostdoc ; | |
101 | alias boostrelease ; | |
102 | explicit boostrelease ; |