View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013287CMakeCMakepublic2012-06-08 18:362012-08-09 19:38
ReporterChris Stankevitz 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformPCOSLinuxOS Version3.2.12-gentoo
Product VersionCMake 2.8.7 
Target VersionCMake 2.8.9Fixed in VersionCMake 2.8.9 
Summary0013287: Eclipse CDT: Parallel builds enabled only for make targets
DescriptionUsing 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
TagsNo tags attached.
Attached Filespng file icon project-build-command.png [^] (96,519 bytes) 2012-06-08 18:36

 Relationships

  Notes
(0029688)
Alex Neundorf (developer)
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

 Issue History
Date Modified Username Field Change
2012-06-08 18:36 Chris Stankevitz New Issue
2012-06-08 18:36 Chris Stankevitz File Added: project-build-command.png
2012-06-10 15:35 Alex Neundorf Assigned To => Alex Neundorf
2012-06-10 15:35 Alex Neundorf Status new => assigned
2012-06-13 16:53 Alex Neundorf Note Added: 0029688
2012-06-13 16:53 Alex Neundorf Status assigned => closed
2012-06-13 16:53 Alex Neundorf Resolution open => fixed
2012-06-13 16:53 Alex Neundorf Description Updated
2012-08-09 19:38 David Cole Fixed in Version => CMake 2.8.9
2012-08-09 19:38 David Cole Target Version => CMake 2.8.9


Copyright © 2000 - 2018 MantisBT Team