mirror of
1
0
Fork 0

Mention build options

This commit is contained in:
Henry Schreiner 2019-08-12 10:09:51 -04:00
parent 3669dcb0b8
commit f390446811
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ So set of methods should you use? As long as you *do not forget* to type the bui
Just to clarify, you can point CMake at either the source directory *from the build directory*, or at an *existing* build directory from anywhere.
If you use `cmake --build` instead of directly calling the underlying build system, you can use `-v` for verbose builds (CMake 3.14+), `-j N` for parallel builds on N cores (CMake 3.12+), and `--target` (any version of CMake) or `-t` (CMake 3.15+) to pick a target. Otherwise, these commands vary between build systems, such as `VERBOSE=1 make` and `ninja -v`.
## Picking a compiler