Project Explorer always shows default includes [message #1719884] |
Tue, 12 January 2016 21:31 |
Vladimir Grishchenko Messages: 104 Registered: July 2009 |
Senior Member |
|
|
I'm trying to set up a project for cross-platform compilation on Linux. Created a simple test makefile project using the "Cross GCC" toolchain, imported a predefined configuration for Cross GCC, defined prefix and path in project's Settings/Tool Settings/Cross Settings. The "CDT Cross GCC Built-in compiler settings" provider is checked and I see the correct built-in paths listed on the Entries tab under "CDT Cross GCC Built-in... " as well as some discovered symbols, the toolchain is installed under /opt/toolchains. The Project Explorer however shows just the default include paths under /usr, and this is what the indexer is using as far as i can tell as F3 on an #include opens headers in /usr. How can I make the discovered cross-toolchain built-in include paths to be shown in the Project Explorer instead of the default compiler ones?
Update: seems there a bug or perhaps it is a user error, I enabled project-specific Indexer settings and voila, the expected paths are now shown. They continue to be listed even if I uncheck the project-specific indexer settings. It appears a change in the indexer settings triggers an update, shouldn't this be automatic?
[Updated on: Tue, 12 January 2016 21:49] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02735 seconds