[CMake] How to use --build and --parallel?
Heng Zhou
hzhou3 at clemson.edu
Thu Aug 8 22:33:36 EDT 2019
Hi,
I want to build a project using all cores of the machine. After cmake .., I
have tried
cmake --build --parallel .
and
cmake --build . --parallel
, but none of them works. So, what is the correct usage of --build and
--parallel when using them together? I have read the documentation
https://cmake.org/cmake/help/latest/manual/cmake.1.html#build-tool-mode but
still could not figure out. Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190808/23ed39a6/attachment.html>
More information about the CMake
mailing list