Bill Hoffman wrote:
Christian Ehrlicher wrote:

This is done when using ctest to build for testing.


In a "non-declarative" ctest script you can do this:

SET (CTEST_BUILD_COMMAND "make -i -j8")

In a declarative ctest script you can add this to the cache:

MAKECOMMAND:STRING=/usr/bin/make -i -j2


-Bill

There's always the MAKEFLAGS environment variable.

$ export MAKEFLAGS="-j5"

--
Filipe Sousa

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to