Merge branch 'marascio-add-build-docs-option' into cpp_master

This commit is contained in:
Takatoshi Kondo
2021-09-23 11:07:08 +09:00
2 changed files with 23 additions and 20 deletions

View File

@@ -210,7 +210,7 @@ jobs:
run: |
vcpkg update
vcpkg install zlib:x64-windows
vcpkg install boost:x64-windows
vcpkg install boost-assert:x64-windows boost-numeric-conversion:x64-windows boost-variant:x64-windows boost-utility:x64-windows boost-fusion:x64-windows boost-optional:x64-windows boost-predef:x64-windows boost-preprocessor:x64-windows boost-timer:x64-windows boost-test:x64-windows
- name: Build and test
shell: powershell

View File

@@ -24,6 +24,7 @@ OPTION (MSGPACK_CXX20 "Using c++20 compiler" OFF)
OPTION (MSGPACK_32BIT "32bit compile" OFF)
OPTION (MSGPACK_USE_X3_PARSE "Use Boost X3 parse" OFF)
OPTION (MSGPACK_BUILD_TESTS "Build tests" OFF)
OPTION (MSGPACK_BUILD_DOCS "Build Doxygen documentation" ON)
OPTION (MSGPACK_FUZZ_REGRESSION "Enable regression testing" OFF)
OPTION (MSGPACK_BUILD_EXAMPLES "Build msgpack examples" OFF)
OPTION (MSGPACK_GEN_COVERAGE "Generate coverage report" OFF)
@@ -153,6 +154,7 @@ IF (MSGPACK_BUILD_EXAMPLES)
ENDIF ()
# Doxygen
IF (MSGPACK_BUILD_DOCS)
FIND_PACKAGE (Doxygen)
IF (DOXYGEN_FOUND)
LIST (APPEND Doxyfile_cpp_CONTENT
@@ -176,6 +178,7 @@ IF (DOXYGEN_FOUND)
VERBATIM
)
ENDIF ()
ENDIF ()
# Install library.
INSTALL (TARGETS msgpackc-cxx