It may be that using cmake --build . -j is sufficient for the level of parallelism you are looking for.
cmake --build . -j