|Indexer detects wrong include file of two possibilities [message #989026]
||Tue, 04 December 2012 10:54
| Dirk Wibben
Registered: February 2010
I'm using Eclipse Juno with CDT 8.1 on Windows.
I'm developing software mainly for a Target microcontroller. But I have the possibility to generate code for a Simulation of the code on a PC.
To separate between 'Target' and 'Simulation' I use two different Output directories:
'Target' = 'bin'
'Simulation' = 'sim'.
Underneath those directories there is a similar tree with a header file of the same name but different content ('Target' or 'Simulation'):
Somewhere in my code there is
And here is my problem:
When I 'follow' this include (F3 or Strg-Click), I ALWAYS get the 'autoconf.h' from sim. And therefore the Eclipse Indexer is highlighting for 'sim' and not for 'bin' as I request.
I have already inserted in
<Project Properties> | C/C++ General | Paths and Symbols | Includes | GNU C
What do I have to do to create a Configuration, in which the upper 'F3' brings me to the include of the bin folder???
Powered by FUDForum
. Page generated in 0.02277 seconds