|
Re: Exclude (duplicate) header from project [message #1790845 is a reply to message #1790807] |
Mon, 18 June 2018 23:30 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
David Vavra![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=davavra%40verizon.net) Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
What do you mean by "Eclipse includes"?
Eclipse doesn't generally include anything.
It does read files to index them, though.
Is this what you mean?
I expect that wouldn't cause a compile issue.
Do you mean that the file is being included by the compiler during a build?
That would imply that a directory containing the examples is being relayed to the compiler.
Eclipse can only do this when creating a makefile.
And does so usually by using the -I compiler option.
These are set with the Tool Settings dialog
Project --> C/C++ Build --> Settings --> Tool Settings tab
or the dialog at Project --> C/C++ General --> Paths and Symbols --> Includes tab
When you "delete the file", which file is being deleted?
Can you be more specific about what you mean and post evidence of Eclipse doing it?
Say, a build log and whatever makes you think it is happening.
FWIW:
I modified an HelloWorld project with two header files differing only in content with one being hidden.
Then I built the project.
Only the non-hidden one was part of the build.
[Updated on: Mon, 18 June 2018 23:51] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04127 seconds