Visual Studio C++'s project reference (Accessible in Property Pages/Common Properties/Add New Reference...) feature allows you to use the symbol definitions in one project (e.g. project A a static lib) in another (e.g. project B an executable).
Adding a reference 'automates' adding project A's output directory into project B's Property Pages/Linker/General/Additional Library Dependencies, and adding the name of A's output lib into project B's Property Pages/Linker/Input/Additional Dependencies.
Q: Is there a way to make project B automatically include the include path from project A, e.g. through a macro in project B's Property Pages/C,C++/General/Additional Include Directories?
Thankyou.
You may want to have a look at Property Sheet.
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