79757227

Date: 2025-09-05 23:20:24
Score: 1
Natty:
Report link

Visual Studio now provides a mechanism to do this automatically called public project content. In your library project properties, set the Public Include Paths property to a list of paths with shared header files. Once done, these directories will be automatically added to Include Paths in all projects referencing your library project—no need to include or configure anything there, just having a project reference is enough.

Here's a short guide from Microsoft's documentation: Reuse header units among projects

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: pcfist