CMake.Documentation.SphinxHTML.qs 497 B

123456789101112131415161718192021
  1. // Component: CMake.Documentation.SphinxHTML
  2. function Component()
  3. {
  4. // Default constructor
  5. }
  6. Component.prototype.createOperations = function()
  7. {
  8. // Create shortcut
  9. if (installer.value("os") === "win") {
  10. component.addOperation("CreateShortcut",
  11. "@TargetDir@/doc/cmake-3.11/html/index.html",
  12. "@StartMenuDir@/CMake Documentation.lnk");
  13. }
  14. // Call default implementation
  15. component.createOperations();
  16. }