Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Excluding files from managed make build

That's a good point. We will consider implementing context menu
file/folder exclusion for the 4.0 as well.

Thanks,
Mikhail

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Derek Morris
Sent: Wednesday, October 18, 2006 11:04 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Excluding files from managed make build

Thanks for the info. It would be good if the exclude file/exclude
directory 
functionality could be made more accessible... Perhaps via the context
menu?
---
Derek

Sennikovsky, Mikhail wrote:
> Hi Derek,
> 
> AFIK, there is now way to do this with eclipse projects currently, but
> the Managed Build System currently allows excluding from build
> individual project files. To exclude the file from build go to the
> "C/C++ Build" file property page and select the "Exclude from build"
> check-box.
> It is also planned to implement the similar exclusion mechanism for
> folders in CDT 4.0
> 
> Regards,
> Mikhail
> 
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Derek Morris
> Sent: Wednesday, October 18, 2006 9:20 PM
> To: CDT General developers list.
> Subject: [cdt-dev] Excluding files from managed make build
> 
> Hi,
> 
> I have files laid out like this in a directory:
> 
> +-test
>     one.c
>     two.c
>    +-sub
>       three.c
> 
> When I create a Managed Make project 'test', it automatically adds
one.c
> two.c 
> and sub/three.c to the build.
> 
> Also, when I do a make clean, it seems to rescan the directories and
> insert any 
> new files that it finds.
> 
> Is there a way to stop subdirectores (and files?) from being inserted
> into a 
> project?
> 
> If the answer is "no", I'd like to add the option... Any pointers as
to
> where I 
> should look? I'll submit any changes as a patch.
> 
> Thanks,
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top