Bug 486432 - The list of dependent projects in generated Makefile are cleaned first then built
Summary: The list of dependent projects in generated Makefile are cleaned first then b...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.8.0   Edit
Hardware: PC Windows 7
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-24 13:42 EST by Jim Adams CLA
Modified: 2020-09-04 15:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Adams CLA 2016-01-24 13:42:25 EST
After cleaning a project and performing a build, the list of any dependent projects in the generated Makefile are specified with the 'clean' parameter which causes all projects in the list to be cleaned and rebuilt even if they have not had any changes. If the dependent list is large this causes the build to take a considerable amount of time. 

dependents:
	-cd C:/CDT/Workspace/testLib1/Debug && $(MAKE) clean all
	-cd C:/CDT/Workspace/testLib2/Debug && $(MAKE) clean all


Any subsequent build has the 'clean' parameter dropped from each dependent project.

dependents:
	-cd C:/CDT/Workspace/testLib1/Debug && $(MAKE) all
	-cd C:/CDT/Workspace/testLib2/Debug && $(MAKE) all