mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
If a path argument with no -S or -B leads to a cache directory, use that directory as the binary directory. Otherwise, use the binary directory from the preset. Fixes: #21311
12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
^Usage
|
|
|
|
cmake \[options\] <path-to-source>
|
|
cmake \[options\] <path-to-existing-build>
|
|
cmake \[options\] -S <path-to-source> -B <path-to-build>
|
|
|
|
Specify a source directory to \(re-\)generate a build system for it in the
|
|
current working directory. Specify an existing build directory to
|
|
re-generate its build system.
|
|
|
|
Run 'cmake --help' for more information.$
|