|
Re: Exclude Directory/Files from indexing - failure [message #1794109 is a reply to message #1794060] |
Thu, 23 August 2018 17:14 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
I don't think it's possible to set an Eclipse option to exclude a file from indexing but still include it in the build.
Two ways this could be done:
o) Create your own makefile.
o) Surround your code with
#ifndef __CDT_PARSER__
:
:
:
#endif
If by "Exclusion Filter" you mean a Resource Filter
i.e., Project --> Properties --> Resource --> Resource Filter
then it keeps files from being added to the workspace.
Anyway, that's what the note at the top of the dialog says.
I've never used it.
If you mean the Project Explorer menu item Filters and Customization ...
then it only hides the files from the Project Explorer view.
[Updated on: Thu, 23 August 2018 17:33] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03469 seconds