Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: tipf on October 01, 2015, 02:14:02 pm
-
Hi,
I'm using Code::Blocks svn build 10122 on Ubuntu with a project file that is generated with CMake. I compile with the 'custom makefile' option. Is there a possibility to activate multi-thread compilation?
I tried settings->compiler->Build options->Number of processes for parallel builds, but it doesn't worked(which mean just one thread is used). Compiling manually with 'make -j4' works as expected.
Best regards,
Tim
-
Hi,
I'm using Code::Blocks svn build 10122 on Ubuntu with a project file that is generated with CMake. I compile with the 'custom makefile' option. Is there a possibility to activate multi-thread compilation?
I tried settings->compiler->Build options->Number of processes for parallel builds, but it doesn't worked(which mean just one thread is used). Compiling manually with 'make -j4' works as expected.
Best regards,
Tim
Edit the toolchain setting for the make command.
Tim S.
-
Or edit the Project settings (tab "Make commands").
-
Or edit the Project settings (tab "Make commands").
Thank you, that was the point. The toolchain option had no effect because the build options used '/usr/bin/make' instead of the global $make variable.