cmake/Help/manual/cmake-gui.1.rst

61 lines
1.6 KiB
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
.. cmake-manual-description: CMake GUI Command-Line Reference
cmake-gui(1)
************
Synopsis
========
.. parsed-literal::
cmake-gui [<options>]
2023-07-02 19:51:09 +02:00
cmake-gui [<options>] -B <path-to-build> [-S <path-to-source>]
2022-11-16 20:14:03 +01:00
cmake-gui [<options>] <path-to-source | path-to-existing-build>
2023-07-02 19:51:09 +02:00
cmake-gui [<options>] --browse-manual [<filename>]
2014-08-03 19:52:23 +02:00
Description
===========
2023-05-23 16:38:00 +02:00
The :program:`cmake-gui` executable is the CMake GUI. Project configuration
2014-08-03 19:52:23 +02:00
settings may be specified interactively. Brief instructions are
provided at the bottom of the window when the program is running.
CMake is a cross-platform build system generator. Projects specify
their build process with platform-independent CMake listfiles included
2019-11-11 23:01:05 +01:00
in each directory of a source tree with the name ``CMakeLists.txt``.
2014-08-03 19:52:23 +02:00
Users build a project by using CMake to generate a build system for a
native tool on their platform.
Options
=======
2022-11-16 20:14:03 +01:00
.. program:: cmake-gui
.. option:: -S <path-to-source>
2019-11-11 23:01:05 +01:00
Path to root directory of the CMake project to build.
2022-11-16 20:14:03 +01:00
.. option:: -B <path-to-build>
2019-11-11 23:01:05 +01:00
Path to directory which CMake will use as the root of build directory.
If the directory doesn't already exist CMake will make it.
2022-11-16 20:14:03 +01:00
.. option:: --preset=<preset-name>
2021-09-14 00:13:48 +02:00
Name of the preset to use from the project's
:manual:`presets <cmake-presets(7)>` files, if it has them.
2023-07-02 19:51:09 +02:00
.. option:: --browse-manual [<filename>]
2022-11-16 20:14:03 +01:00
2023-07-02 19:51:09 +02:00
Open the CMake reference manual in a browser and immediately exit. If
``<filename>`` is specified, open that file within the reference manual
instead of ``index.html``.
2021-09-14 00:13:48 +02:00
2014-08-03 19:52:23 +02:00
.. include:: OPTIONS_HELP.txt
See Also
========
.. include:: LINKS.txt