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

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?

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"
It is also planned to implement the similar exclusion mechanism for
folders in CDT 4.0


-----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


I have files laid out like this in a directory:


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.


Back to the top