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 -j
Christian Ehrlicher wrote:
Von: Milan Dorak
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.
Since when does cmake executes make directly? It's only creating makefiles for
make..
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
C
> Von: Milan Dorak
> 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.
>
Since when does cmake executes make directly? It's only creating makefiles for
make...
Christian
--
GMX
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.
Thanks for any help
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/l