I am trying to use Eclipse with an existing codebase. This code has the Makefile buried several directories deep from the root of the project sources. If I tell eclipse this buried directory is the root of the project, everything builds, but nothing indexes, since Eclipse does not know where the sources are.
If I tell Eclipse to use the root of the sources, then I have not been able to make Eclipse use the buried makefile.
I have read the other answers to the Eclipse makefile questions, but I still have a problem getting Eclipse to work perfectly – I have also tried a custom Builder schell script that uses the buried Makefile but no luck.
Thanks for any help!
I would try to change build directory of your project. In project properties: C/C++ Build -> Builder Settings -> Build directory.