mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 294965 - object file added to root of project is not shown in C/C++ Projects view
Patch by wieant@tasking.com
This commit is contained in:
parent
6ad255dfed
commit
09d91b1c01
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2000, 2007 QNX Software Systems and others.
|
||||
* Copyright (c) 2000, 2009 QNX Software Systems and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -92,7 +92,7 @@ class CProjectInfo extends OpenableInfo {
|
|||
case IResource.FILE:
|
||||
// Must be a translation unit or binary
|
||||
if (CoreModel.isValidTranslationUnitName(cproject.getProject(), child.getName())
|
||||
|| CModelManager.getDefault().createBinaryFile((IFile)child) != null)
|
||||
|| (cproject.isOnOutputEntry(child) && (CModelManager.getDefault().createBinaryFile((IFile)child) != null)) )
|
||||
continue;
|
||||
break;
|
||||
case IResource.FOLDER:
|
||||
|
|
Loading…
Add table
Reference in a new issue