mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-18 11:39:02 +02:00
Merge branch 'marascio-add-build-docs-option' into cpp_master
This commit is contained in:
2
.github/workflows/gha.yml
vendored
2
.github/workflows/gha.yml
vendored
@@ -210,7 +210,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
vcpkg update
|
vcpkg update
|
||||||
vcpkg install zlib:x64-windows
|
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
|
- name: Build and test
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
@@ -24,6 +24,7 @@ OPTION (MSGPACK_CXX20 "Using c++20 compiler" OFF)
|
|||||||
OPTION (MSGPACK_32BIT "32bit compile" OFF)
|
OPTION (MSGPACK_32BIT "32bit compile" OFF)
|
||||||
OPTION (MSGPACK_USE_X3_PARSE "Use Boost X3 parse" OFF)
|
OPTION (MSGPACK_USE_X3_PARSE "Use Boost X3 parse" OFF)
|
||||||
OPTION (MSGPACK_BUILD_TESTS "Build tests" 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_FUZZ_REGRESSION "Enable regression testing" OFF)
|
||||||
OPTION (MSGPACK_BUILD_EXAMPLES "Build msgpack examples" OFF)
|
OPTION (MSGPACK_BUILD_EXAMPLES "Build msgpack examples" OFF)
|
||||||
OPTION (MSGPACK_GEN_COVERAGE "Generate coverage report" OFF)
|
OPTION (MSGPACK_GEN_COVERAGE "Generate coverage report" OFF)
|
||||||
@@ -153,8 +154,9 @@ IF (MSGPACK_BUILD_EXAMPLES)
|
|||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
# Doxygen
|
# Doxygen
|
||||||
FIND_PACKAGE (Doxygen)
|
IF (MSGPACK_BUILD_DOCS)
|
||||||
IF (DOXYGEN_FOUND)
|
FIND_PACKAGE (Doxygen)
|
||||||
|
IF (DOXYGEN_FOUND)
|
||||||
LIST (APPEND Doxyfile_cpp_CONTENT
|
LIST (APPEND Doxyfile_cpp_CONTENT
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_cpp
|
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_cpp
|
||||||
COMMAND ${CMAKE_COMMAND} -E echo "FILE_PATTERNS = *.hpp" >> ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_cpp
|
COMMAND ${CMAKE_COMMAND} -E echo "FILE_PATTERNS = *.hpp" >> ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_cpp
|
||||||
@@ -175,6 +177,7 @@ IF (DOXYGEN_FOUND)
|
|||||||
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_cpp
|
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_cpp
|
||||||
VERBATIM
|
VERBATIM
|
||||||
)
|
)
|
||||||
|
ENDIF ()
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
# Install library.
|
# Install library.
|
||||||
|
Reference in New Issue
Block a user