[CMake] make arguments

Tim Schooley tim at sbdev.net
Wed Jul 23 10:57:31 EDT 2008


Hi,

Milan Dorak wrote:
> I can't find in documentation or anywhere else, how can i pass argument
> to make command.
> I need 'make -j 3'. don't care if it's in CMakeLists.txt or CTest script.

_You_ invoke make, not any of the CMake scripts. E.g.

mkdir build
cd build
cmake /path/to/source
make

Cheers,

Tim



More information about the CMake mailing list