[CMake] parallel make -j N

Andrea Galeazzi Galeazzi at korg.it
Mon Jan 16 12:10:37 EST 2012


I generated a MakeFile Project (MinGW) and I'd like to speed up the 
build process using -j N option. So I launched:
"make -j 2 all".
Unfortunately I noticed that the Makefile, generated by CMake self, 
contains this row: $(MAKE) -f CMakeFiles\Makefile2 all , so Makefile2 
won't be executed in parallel mode.
How can I pass this option to all build steps?


More information about the CMake mailing list