Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Exclude files while creating project
Exclude files while creating project [message #130186] Fri, 03 December 2004 04:25 Go to next message
Eclipse UserFriend
Hi,
is it possible to create a new project from a directory full of source
files and exclude some of the source files from the project?

Thanks for helping
Barbara
Re: Exclude files while creating project [message #130212 is a reply to message #130186] Fri, 03 December 2004 04:42 Go to previous messageGo to next message
Eclipse UserFriend
Working sets are your answer.

In the navigator window there is a button to create/edit working sets. It
lets you include/exclude the files in your directory.

Barbara Kukuk wrote:

> Hi,
> is it possible to create a new project from a directory full of source
> files and exclude some of the source files from the project?

> Thanks for helping
> Barbara
Re: Exclude files while creating project [message #130496 is a reply to message #130212] Mon, 06 December 2004 03:28 Go to previous messageGo to next message
Eclipse UserFriend
Jesper Taxbøl wrote:
I defined a working set with only 2 .c-files but all files in the
directory were compiled when I selected build. What is wrong?
Barbara

> Working sets are your answer.

> In the navigator window there is a button to create/edit working sets. It
> lets you include/exclude the files in your directory.

> Barbara Kukuk wrote:

>> Hi,
>> is it possible to create a new project from a directory full of source
>> files and exclude some of the source files from the project?

>> Thanks for helping
>> Barbara
Re: Exclude files while creating project [message #130787 is a reply to message #130496] Tue, 07 December 2004 18:37 Go to previous messageGo to next message
Eclipse UserFriend
I have the same problem trying to exclude some subdirs, deselecting from the
working set hides them, but the files in the subdirs stills get compiled
I'm using a managed C++ project
The project tries to compile the zthreads library, the src folder has
subdirs macos, win32, .... but this subfolders must not be compiled, the
files in src use them through system dependent macros
Is necessary to create a standar C++ project to manage this ?
Re: Exclude files while creating project [message #130813 is a reply to message #130212] Wed, 08 December 2004 03:37 Go to previous message
Eclipse UserFriend
Originally posted by: johan.nosp.m.appeal.se

See also "https://bugs.eclipse.org/bugs/show_bug.cgi?id=25682" about indexer
profiles.

//Johan

Jesper Taxbøl wrote:
> Working sets are your answer.
>
> In the navigator window there is a button to create/edit working sets.
> It lets you include/exclude the files in your directory.
>
> Barbara Kukuk wrote:
>
>> Hi,
>> is it possible to create a new project from a directory full of source
>> files and exclude some of the source files from the project?
>
>
>> Thanks for helping
>> Barbara
>
>
>
Previous Topic:CDT 2.1 RC1 Now Available for Testing
Next Topic:c++ launch failed...
Goto Forum:
  


Current Time: Sun Jul 27 18:11:23 EDT 2025

Powered by FUDForum. Page generated in 0.04461 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top