|Re: Exclude (duplicate) header from project [message #1790845 is a reply to message #1790807]
||Mon, 18 June 2018 23:30
Registered: October 2012
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.
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.01614 seconds