ctest_build: Add parameter to set parallel level
Similar to how ctest_test
takes a PARALLEL_LEVEL
argument, cmake provides a build system agnostic way to set the parallel level in the build command and ctest_build
should be able to use that.
The FLAGS
parameter at the moment passes native build system arguments (after --
).