cmake-gui.1.rst 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .. cmake-manual-description: CMake GUI Command-Line Reference
  2. cmake-gui(1)
  3. ************
  4. Synopsis
  5. ========
  6. .. parsed-literal::
  7. cmake-gui [<options>]
  8. cmake-gui [<options>] -B <path-to-build> [-S <path-to-source>]
  9. cmake-gui [<options>] <path-to-source | path-to-existing-build>
  10. cmake-gui [<options>] --browse-manual [<filename>]
  11. Description
  12. ===========
  13. The :program:`cmake-gui` executable is the CMake GUI. Project configuration
  14. settings may be specified interactively. Brief instructions are
  15. provided at the bottom of the window when the program is running.
  16. CMake is a cross-platform build system generator. Projects specify
  17. their build process with platform-independent CMake listfiles included
  18. in each directory of a source tree with the name ``CMakeLists.txt``.
  19. Users build a project by using CMake to generate a build system for a
  20. native tool on their platform.
  21. Options
  22. =======
  23. .. program:: cmake-gui
  24. .. option:: -S <path-to-source>
  25. Path to root directory of the CMake project to build.
  26. .. option:: -B <path-to-build>
  27. Path to directory which CMake will use as the root of build directory.
  28. If the directory doesn't already exist CMake will make it.
  29. .. option:: --preset=<preset-name>
  30. Name of the preset to use from the project's
  31. :manual:`presets <cmake-presets(7)>` files, if it has them.
  32. .. option:: --browse-manual [<filename>]
  33. Open the CMake reference manual in a browser and immediately exit. If
  34. ``<filename>`` is specified, open that file within the reference manual
  35. instead of ``index.html``.
  36. .. include:: include/OPTIONS_HELP.rst
  37. See Also
  38. ========
  39. .. include:: include/LINKS.rst