Project dependency in Eclipse CDT
Try the below settings:
- Go to properties of Main Project → C/C++ General → Paths and Symbols → References
- Tick all the dependencies.
You go into Project Properties of Project B, select Project References and make it reference (depend) on Project A.
Edit, appears to be a known bug