All apps/CMake

CMake

cmake

Cross-platform build system generator.

Runs as cmake|macOS, Linux, Windows|cmake.org

Command form

ai-draft · 2 tasks · 8 fields

Generate a build tree from a source tree. The --build mode and cmake -E tools are left out; cache entries are passed as -D NAME=VALUE.

Opens the form; the finished command lands at your prompt, unrun
otty gui cmake
Configure a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Source directory*
directory
Build directory*
directory
Generator
string
Cache entries
string
TasksEach one presets the form for one job
Configure
sourcebuild_dirgeneratordefines
Configure release build
sourcebuild_dirgeneratordefines
ParametersOnly these flags are editable in the form
Source directory
path
-S
Build directory
Created if it does not exist.
path
-B
Generator
string
-GNinjaUnix MakefilesXcode
Cache entries
NAME=VALUE, e.g. CMAKE_BUILD_TYPE=Release.
string · repeatable
-D
Preset
string
--preset
Install prefix
path
--install-prefix
Log level
enum
--log-levelERRORWARNINGNOTICESTATUSVERBOSEDEBUGTRACE
Suppress developer warnings
boolean
-Wno-dev
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed cmake against its version. A form that does not match your version is not offered.