I am using Eclipse CDT (Helios release, CDT 7.0) with a C++ Makefile project. As I am new to Eclipse, I am wondering about how to manage include directories correctly. I'm #including without any paths usually, so I am used to adding my subdirectories (not so many) to the project setting's include directories. I am somewhat confused because these settings can be made on project level as well as on folder level (and I haven't understood how values are inherited yet). Also, is there a difference between Properties > C/C++ Build > Settings > GCC C++ Compiler > Include and Properties > C/C++ General > Paths and Symbols > GNU C++?
Do you know any good resource which explains these things?
I've found - the hard way (few hours today), that Paths and symbols are used in the pre-processor/indexer. I'm using a Makefile project, in which case C/C++ Build/Settings does not affect the build or indexer.
To get indexing/analysis to work I had to
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With