You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
781 B
33 lines
781 B
|
|
file(READ "${QTHELP_DIR}/CMake.qhcp" QHCP_CONTENT)
|
|
|
|
string(REPLACE
|
|
"<homePage>qthelp://org.sphinx.cmake" "<homePage>qthelp://org.cmake"
|
|
QHCP_CONTENT "${QHCP_CONTENT}"
|
|
)
|
|
string(REPLACE
|
|
"<startPage>qthelp://org.sphinx.cmake" "<startPage>qthelp://org.cmake"
|
|
QHCP_CONTENT "${QHCP_CONTENT}"
|
|
)
|
|
|
|
string(REPLACE
|
|
"<output>CMake.qch" "<output>CMake-${CMake_VERSION}.qch"
|
|
QHCP_CONTENT "${QHCP_CONTENT}"
|
|
)
|
|
string(REPLACE
|
|
"<file>CMake.qch" "<file>CMake-${CMake_VERSION}.qch"
|
|
QHCP_CONTENT "${QHCP_CONTENT}"
|
|
)
|
|
|
|
file(WRITE "${QTHELP_DIR}/CMake.qhcp" "${QHCP_CONTENT}")
|
|
|
|
|
|
file(READ "${QTHELP_DIR}/CMake.qhp" QHP_CONTENT)
|
|
|
|
string(REPLACE
|
|
"<namespace>org.sphinx.cmake" "<namespace>org.cmake"
|
|
QHP_CONTENT "${QHP_CONTENT}"
|
|
)
|
|
|
|
file(WRITE "${QTHELP_DIR}/CMake.qhp" "${QHP_CONTENT}")
|