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