mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 326671 - [Performance] MBS generated makefiles for static library projects add dependencies on referenced archives
This commit is contained in:
parent
7cf13bb21c
commit
2d69ae770d
1 changed files with 6 additions and 2 deletions
|
@ -1293,8 +1293,12 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
|
|||
// }
|
||||
|
||||
// Get all the projects the build target depends on
|
||||
// IProject[] refdProjects = null;
|
||||
IConfiguration[] refConfigs = ManagedBuildManager.getReferencedConfigurations(config);
|
||||
// If this configuration produces a static archive, building the archive doesn't depend on the output
|
||||
// from any of the referenced configurations
|
||||
IConfiguration[] refConfigs = new IConfiguration[0];
|
||||
if (!ManagedBuildManager.BUILD_ARTEFACT_TYPE_PROPERTY_STATICLIB.equals(config.getBuildArtefactType().getId()))
|
||||
refConfigs = ManagedBuildManager.getReferencedConfigurations(config);
|
||||
|
||||
/* try {
|
||||
refdProjects = project.getReferencedProjects();
|
||||
} catch (CoreException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue