Jamfile.v2 3.2 KB

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