Re: [CMake] Code::blocks: parallel build from IDE
On Sunday, January 17, 2016 14:01:59 Alexander Neundorf wrote: > On Sunday, January 17, 2016 13:45:34 Dimitri Kaparis wrote: > > On Sat, Jan 9, 2016 at 9:16 PM, Alexander Neundorf > >> > > wrote: > > > On Saturday, January 09, 2016 12:27:48 Dimitri Kaparis wrote: > > > > Greetings, > > > > > > > > I'm using the "CodeBlocks - Unix Makefiles" generator under linux to > > > > > > create > > > > > > > a build tree for my project consisting of multiple executables and > > > > libraries. > > > > From the command line, I could use make -jN switch from the root of > > > > the > > > > build tree to invoke a full build in parallel, but I see no way of > > > > doing > > > > that from the Code Blocks IDE. > > > > > > Oops, sorry, that's not implemented for C::B. > > > > > > Alex > > > > Any plans on it, > > yes, but not commited yet. it's in next now. CMake now tries to figure out the number of CPUs, and sets the (new) cache variable CMAKE_CODEBLOCKS_MAKE_ARGUMENTS to "-jN". If you don't like the result, you can set it to something else. Alex -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] Code::blocks: parallel build from IDE
On Sunday, January 17, 2016 13:45:34 Dimitri Kaparis wrote: > On Sat, Jan 9, 2016 at 9:16 PM, Alexander Neundorf> wrote: > > On Saturday, January 09, 2016 12:27:48 Dimitri Kaparis wrote: > > > Greetings, > > > > > > I'm using the "CodeBlocks - Unix Makefiles" generator under linux to > > > > create > > > > > a build tree for my project consisting of multiple executables and > > > libraries. > > > From the command line, I could use make -jN switch from the root of the > > > build tree to invoke a full build in parallel, but I see no way of doing > > > that from the Code Blocks IDE. > > > > Oops, sorry, that's not implemented for C::B. > > > > Alex > > Any plans on it, yes, but not commited yet. Alex -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] Code::blocks: parallel build from IDE
On Sat, Jan 9, 2016 at 9:16 PM, Alexander Neundorfwrote: > On Saturday, January 09, 2016 12:27:48 Dimitri Kaparis wrote: > > Greetings, > > > > I'm using the "CodeBlocks - Unix Makefiles" generator under linux to > create > > a build tree for my project consisting of multiple executables and > > libraries. > > From the command line, I could use make -jN switch from the root of the > > build tree to invoke a full build in parallel, but I see no way of doing > > that from the Code Blocks IDE. > > Oops, sorry, that's not implemented for C::B. > > Alex > > Any plans on it, or an idea for a workaround? Thanks, Dimitri -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] Code::blocks: parallel build from IDE
On 17.01.2016 12:45, Dimitri Kaparis wrote: On Sat, Jan 9, 2016 at 9:16 PM, Alexander Neundorf> wrote: Oops, sorry, that's not implemented for C::B. Alex Any plans on it, or an idea for a workaround? As a workaround perhaps "CodeBlocks - Ninja" would be an option? ninja builds parallel by default. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
[CMake] Code::blocks: parallel build from IDE
Greetings, I'm using the "CodeBlocks - Unix Makefiles" generator under linux to create a build tree for my project consisting of multiple executables and libraries. >From the command line, I could use make -jN switch from the root of the build tree to invoke a full build in parallel, but I see no way of doing that from the Code Blocks IDE. In the "Project build options" window, under "Make commands" tab, there is a box to specify a "Build project/target" command, where I can add -j switch to make. But that box is only editable for individual executable and library subprojects, while for virtual CMake-generated targets, such as "all", it is disabled. Any ideas? Regards, Dimitri -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] Code::blocks: parallel build from IDE
On Saturday, January 09, 2016 12:27:48 Dimitri Kaparis wrote: > Greetings, > > I'm using the "CodeBlocks - Unix Makefiles" generator under linux to create > a build tree for my project consisting of multiple executables and > libraries. > From the command line, I could use make -jN switch from the root of the > build tree to invoke a full build in parallel, but I see no way of doing > that from the Code Blocks IDE. Oops, sorry, that's not implemented for C::B. Alex -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake