Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » prevent *.o file appear under a folder in project view
prevent *.o file appear under a folder in project view [message #145598] Wed, 18 May 2005 06:05 Go to next message
Eclipse UserFriend
Originally posted by: qwejohn.hotmail.com

Hello,
I am using Eclipse 3.1 M6 with CDT.

I created a standard C project.

I created folders insilde that project (By right click->New->New Folder
(not New Source Folder).

Now: when I add "c" files into it (by right click->New File) and build
them , the *.o that are created appear in the left pane (Project
View it is called if I am not wrong) under the folder where the *.c
files are.

Is there a way to prevent it ?

Or should I simply write my makefile
so that the *.o files will be
put in a different folder than the *.c files
which are their input?




Cheer,
John
Re: prevent *.o file appear under a folder in project view [message #145616 is a reply to message #145598] Wed, 18 May 2005 08:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jonas.nightmode.org

Click on the little arrow in the top-right of the browser, select
"Filters" and tell it to exclude object-files and you should be set.


John Que wrote:

> Hello,
> I am using Eclipse 3.1 M6 with CDT.

> I created a standard C project.

> I created folders insilde that project (By right click->New->New Folder
> (not New Source Folder).

> Now: when I add "c" files into it (by right click->New File) and build
> them , the *.o that are created appear in the left pane (Project
> View it is called if I am not wrong) under the folder where the *.c
> files are.

> Is there a way to prevent it ?

> Or should I simply write my makefile
> so that the *.o files will be
> put in a different folder than the *.c files
> which are their input?




> Cheer,
> John
Re: prevent *.o file appear under a folder in project view [message #145640 is a reply to message #145616] Wed, 18 May 2005 09:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: qwejohn.hotmail.com

Hello,

I open the "filters" dialog;
The only thing I see there is:
Select the filters to apply(matching files will be
hidden)
*
*.class

can I somehow cause *.o files to appear in this
list (my project is a C projet; *.class files are
irrelvant here).

Regards,
Sting
Re: prevent *.o file appear under a folder in project view [message #145658 is a reply to message #145640] Wed, 18 May 2005 09:20 Go to previous message
Eclipse UserFriend
Originally posted by: jonas.nightmode.org

You need to show the "C/C++ Projects" view and not the "Navigator" view
for it to work, but that should be default when using the C/C++
Perspective.
Previous Topic:target file lock up
Next Topic:Can I add my naming convention rules to the CDT parser?
Goto Forum:
  


Current Time: Sun Jun 08 15:49:05 EDT 2025

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

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

Back to the top