mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Merge topic 'doc-qhelpgenerator'
bf69fa32c4Utilities/Sphinx: Update qthelp generation to qhelpgenerator37904abb58Help: Add "Updates" section header in 3.22 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7150
This commit is contained in:
@@ -143,6 +143,11 @@ Other Changes
|
||||
|
||||
* The :cpack_gen:`CPack NSIS Generator` now requires NSIS 3.03 or later.
|
||||
|
||||
Updates
|
||||
=======
|
||||
|
||||
Changes made since CMake 3.22.0 include the following.
|
||||
|
||||
3.22.1
|
||||
------
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ SPHINX_EXECUTABLE:FILEPATH=/usr/local/bin/sphinx-build
|
||||
SPHINX_HTML:BOOL=ON
|
||||
SPHINX_MAN:BOOL=ON
|
||||
SPHINX_QTHELP:BOOL=ON
|
||||
QCOLLECTIONGENERATOR_EXECUTABLE:PATH=/opt/qt/bin/qhelpgenerator
|
||||
QHELPGENERATOR_EXECUTABLE:PATH=/opt/qt/bin/qhelpgenerator
|
||||
|
||||
# We bootstrap as part of the build so skip its test.
|
||||
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
||||
|
||||
@@ -32,7 +32,7 @@ SPHINX_EXECUTABLE:FILEPATH=/opt/rh/rh-python36/root/usr/bin/sphinx-build
|
||||
SPHINX_HTML:BOOL=ON
|
||||
SPHINX_MAN:BOOL=ON
|
||||
SPHINX_QTHELP:BOOL=ON
|
||||
QCOLLECTIONGENERATOR_EXECUTABLE:PATH=/opt/qt/bin/qhelpgenerator
|
||||
QHELPGENERATOR_EXECUTABLE:PATH=/opt/qt/bin/qhelpgenerator
|
||||
|
||||
# We bootstrap as part of the build so skip its test.
|
||||
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
||||
|
||||
@@ -24,7 +24,7 @@ SPHINX_EXECUTABLE:FILEPATH=C:/python3/Scripts/sphinx-build.exe
|
||||
SPHINX_HTML:BOOL=ON
|
||||
SPHINX_MAN:BOOL=ON
|
||||
SPHINX_QTHELP:BOOL=ON
|
||||
QCOLLECTIONGENERATOR_EXECUTABLE:PATH=C:/qt-i386/bin/qhelpgenerator.exe
|
||||
QHELPGENERATOR_EXECUTABLE:PATH=C:/qt-i386/bin/qhelpgenerator.exe
|
||||
|
||||
# No bootstrap with MSVC tools.
|
||||
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
||||
|
||||
@@ -24,7 +24,7 @@ SPHINX_EXECUTABLE:FILEPATH=C:/python3/Scripts/sphinx-build.exe
|
||||
SPHINX_HTML:BOOL=ON
|
||||
SPHINX_MAN:BOOL=ON
|
||||
SPHINX_QTHELP:BOOL=ON
|
||||
QCOLLECTIONGENERATOR_EXECUTABLE:PATH=C:/qt-x86_64/bin/qhelpgenerator.exe
|
||||
QHELPGENERATOR_EXECUTABLE:PATH=C:/qt-x86_64/bin/qhelpgenerator.exe
|
||||
|
||||
# No bootstrap with MSVC tools.
|
||||
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
||||
|
||||
@@ -103,12 +103,12 @@ endif()
|
||||
if(SPHINX_QTHELP)
|
||||
find_package(PythonInterp REQUIRED)
|
||||
|
||||
find_program(QCOLLECTIONGENERATOR_EXECUTABLE
|
||||
NAMES qcollectiongenerator-qt5 qcollectiongenerator
|
||||
DOC "qcollectiongenerator tool"
|
||||
find_program(QHELPGENERATOR_EXECUTABLE
|
||||
NAMES qhelpgenerator-qt5 qhelpgenerator
|
||||
DOC "qhelpgenerator tool"
|
||||
)
|
||||
if (NOT QCOLLECTIONGENERATOR_EXECUTABLE)
|
||||
message(FATAL_ERROR "QCOLLECTIONGENERATOR_EXECUTABLE (qcollectiongenerator) not found!")
|
||||
if(NOT QHELPGENERATOR_EXECUTABLE)
|
||||
message(FATAL_ERROR "QHELPGENERATOR_EXECUTABLE (qhelpgenerator) not found!")
|
||||
endif()
|
||||
list(APPEND doc_formats qthelp)
|
||||
|
||||
@@ -128,7 +128,7 @@ if(SPHINX_QTHELP)
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/create_identifiers.py"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/qthelp/"
|
||||
|
||||
COMMAND ${QCOLLECTIONGENERATOR_EXECUTABLE}
|
||||
COMMAND ${QHELPGENERATOR_EXECUTABLE}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/qthelp/CMake.qhcp
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user