[cmake-developers] [CMake 0013287]: Eclipse CDT: Parallel builds enabled only for make targets

Mantis Bug Tracker mantis at public.kitware.com
Fri Jun 8 18:36:46 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13287 
====================================================================== 
Reported By:                Chris Stankevitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13287
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-06-08 18:36 EDT
Last Modified:              2012-06-08 18:36 EDT
====================================================================== 
Summary:                    Eclipse CDT: Parallel builds enabled only for make
targets
Description: 

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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-08 18:36 Chris StankevitzNew Issue                                    
2012-06-08 18:36 Chris StankevitzFile Added: project-build-command.png          
         
======================================================================




More information about the cmake-developers mailing list