mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[merged from 3_1_1]
fixed binary handling on non output paths bug#167431
This commit is contained in:
parent
b3608892c4
commit
f3878f3175
2 changed files with 2 additions and 3 deletions
|
@ -85,7 +85,7 @@ public class CContainerInfo extends OpenableInfo {
|
|||
continue;
|
||||
}
|
||||
if (root.isOnSourceEntry(member)) {
|
||||
if (CModelManager.getDefault().createBinaryFile((IFile)member) != null) {
|
||||
if (cproject.isOnOutputEntry(member) && CModelManager.getDefault().createBinaryFile((IFile)member) != null) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -116,8 +116,7 @@ class CProjectInfo extends OpenableInfo {
|
|||
&& !CoreModelUtil.isExcluded(member, exclusionPatterns)) {
|
||||
continue;
|
||||
} else if (!CoreModelUtil.isExcluded(member, exclusionPatterns)) {
|
||||
Object o = CModelManager.getDefault().createBinaryFile((IFile)member);
|
||||
if (o != null) {
|
||||
if (cproject.isOnOutputEntry(member) && CModelManager.getDefault().createBinaryFile((IFile)member) != null) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue