cmake(1) — CMake 3.23.0-rc2 Documentation
cmake.org › cmake › helpRun CMake with one of the following command signatures to specify the source and build trees and generate a buildsystem: cmake [<options>] <path-to-source> Uses the current working directory as the build tree, and <path-to-source> as the source tree. The specified path may be absolute or relative to the current working directory.
Running CMake | CMake
cmake.org › runningcmakeRunning CMake from the command line From the command line, cmake can be run as an interactive question and answer session or as a non-interactive program. To run in interactive mode, just pass the option “-i” to cmake. This will cause cmake to ask you to enter a value for each value in the cache file for the project.
build_command — CMake 3.23.0-rc2 Documentation
cmake.org › cmake › helpWhen invoked, this cmake --build command line will launch the underlying build system tool. New in version 3.21: The PARALLEL_LEVEL argument can be used to set the --parallel flag. build_command (<cachevariable> <makecommand>) This second signature is deprecated, but still available for backwards compatibility. Use the first signature instead.