cmake: Add options for parallel builds to --build mode
As discussed in merge request !1282 (closed) I've added the -j [<N>]
and --parallel [<N>]
command line options to CMake's build tool mode.
I also added CMAKE_BUILD_PARALLEL_LEVEL
environment variable that can be used to set a default on the host system level.
Edited by Brad King