Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] why create a Binary (ICElement) only if it's in an output directory?

It's more like a performance enhancement. It's pretty expensive to
figure out whether a file is a binary or not so the output folder is
there to help speed it up if you need.

Doug. 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of John Cortell
> Sent: Wednesday, July 30, 2008 1:56 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] why create a Binary (ICElement) only if 
> it's in an output directory?
> 
> I'm trying to understand why we restrict the display of a 
> binary (obj, dll, executable, lib, etc) as an expandable 
> Binary object in our views only if it's located in the output 
> directory of a project. 
> The restriction in the code is in CModelManager.create(IFile, 
> IBinaryFile, ICProject). Same thing for static libraries (archives). 
> Anyone know the reasoning behind this?
> 
> John
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top