MantisBT - CMake
View Issue Details
0013287CMakeCMakepublic2012-06-08 18:362012-08-09 19:38
Chris Stankevitz 
Alex Neundorf 
normalminoralways
closedfixed 
PCLinux3.2.12-gentoo
CMake 2.8.7 
CMake 2.8.9CMake 2.8.9 
0013287: Eclipse CDT: Parallel builds enabled only for make targets
Using Eclipse Indigo, I have enabled parallel builds by setting

  CMAKE_ECLIPSE_MAKE_ARGUMENTS=-j4

  CMAKE_ECLIPSE_VERSION=3.7 (Indigo)

CMake creates many "make targets" each with a "make target Build command" of "/usr/bin/gmake -j4". This is correct.

CMake also creates a single "project" with a "project Build command" of "/usr/bin/gmake". This is incorrect. It should have the -j4 suffix.

You can view the "project Build command" from Eclipse by selecting
  Project | Properties | C/C++ Make Project | Make Builder | Build command

(see attached)

Thank you,

Chris
No tags attached.
png project-build-command.png (96,519) 2012-06-08 18:36
https://public.kitware.com/Bug/file/4350/project-build-command.png
png
Issue History
2012-06-08 18:36Chris StankevitzNew Issue
2012-06-08 18:36Chris StankevitzFile Added: project-build-command.png
2012-06-10 15:35Alex NeundorfAssigned To => Alex Neundorf
2012-06-10 15:35Alex NeundorfStatusnew => assigned
2012-06-13 16:53Alex NeundorfNote Added: 0029688
2012-06-13 16:53Alex NeundorfStatusassigned => closed
2012-06-13 16:53Alex NeundorfResolutionopen => fixed
2012-06-13 16:53Alex NeundorfDescription Updatedbug_revision_view_page.php?rev_id=674#r674
2012-08-09 19:38David ColeFixed in Version => CMake 2.8.9
2012-08-09 19:38David ColeTarget Version => CMake 2.8.9

Notes
(0029688)
Alex Neundorf   
2012-06-13 16:53   
Fixed and merged branch EclipseParallelMakeForBuildProject into next, this should be in 2.8.9 RC1, which will be released soon.
Please give it a try and reopen this ticket if it doesn't work for you.

Thanks
Alex