mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Build Model and Internal Builder fixes and enhancements
This commit is contained in:
parent
6140a76f77
commit
3343177fca
2 changed files with 4 additions and 1 deletions
|
@ -391,6 +391,9 @@ public class BuildDescription implements IBuildDescription {
|
|||
DbgUtil.traceln("--->Synch started"); //$NON-NLS-1$
|
||||
|
||||
BuildDescriptionManager.accept(new RebuildStateSynchronizer(), this, true);
|
||||
|
||||
if(fOutputStep.needsRebuild())
|
||||
fInputStep.setRebuildState(true);//needed for the pre-build step invocation
|
||||
|
||||
if(DbgUtil.DEBUG)
|
||||
DbgUtil.traceln("<---Synch stopped"); //$NON-NLS-1$
|
||||
|
|
|
@ -47,7 +47,7 @@ public class GenDirInfo {
|
|||
if(path != null
|
||||
&& fProjPath.isPrefixOf(path)){
|
||||
path = path.removeLastSegments(1).removeFirstSegments(1);
|
||||
if(fDirPathSet.add(path)){
|
||||
if(path.segmentCount() > 0 && fDirPathSet.add(path)){
|
||||
IFolder folder = fProject.getFolder(path);
|
||||
if(!folder.exists()){
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue