| Indexer detects wrong include file of two possibilities [message #989026] |
Tue, 04 December 2012 05:54  |
Dirk Wibben Messages: 49 Registered: February 2010 |
Member |
|
|
Hello.
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'):
<Project dir>
- bin
-- include
--- generated
---- autoconf.h
:
:
-sim
-- include
--- generated
---- autoconf.h
:
Somewhere in my code there is
#include <generated/autoconf.h>
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
the entry
<Project path>/bin/include
What do I have to do to create a Configuration, in which the upper 'F3' brings me to the include of the bin folder???
TIA
Dirk
Best regards
Dirk
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02057 seconds