[CMake] make arguments

Filipe Sousa natros at gmail.com
Wed Jul 23 14:20:40 EDT 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080723/3389540e/attachment.pgp>


More information about the CMake mailing list