Skip to content

Commit 7655029

Browse files
committed
Configure NSIS-packaged CMake documentation link in Start Menu
Now that we use Sphinx to generate the documentation there is a single entry point to link from the start menu. Drop all the (now broken) links to the individual html document pages and provide a single link to the index.html "CMake Documentation" entry point.
1 parent d3f7fa2 commit 7655029

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

CMakeCPackOptions.cmake.in

+1-8
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@ if(CPACK_GENERATOR MATCHES "NSIS")
1313
set(CPACK_PACKAGE_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeInstall.bmp")
1414
# tell cpack to create links to the doc files
1515
set(CPACK_NSIS_MENU_LINKS
16-
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-gui.html" "cmake-gui Help"
17-
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
18-
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-properties.html"
19-
"CMake Properties and Variables Help"
20-
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/ctest.html" "CTest Help"
21-
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-modules.html" "CMake Modules Help"
22-
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-commands.html" "CMake Commands Help"
23-
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cpack.html" "CPack Help"
16+
"@CMAKE_DOC_DIR@/html/index.html" "CMake Documentation"
2417
"http://www.cmake.org" "CMake Web Site"
2518
)
2619
# Use the icon from cmake-gui for add-remove programs

0 commit comments

Comments
 (0)