So I am pretty sure I am doing something wrong with my design/setup. But basically in visual studio, I want to create a .lib project that loosely wraps third party code, that part is simple enough.
However I am finding when I go to use lib in my other project (in this case a dll, could easily be an exe in a different proj, etc), the dll project is complaining that it needs the same include directories as the lib project. This seems...not helpful. I sorta get why it is showing the message, because I am including a header from my lib, that is in turn including the 3rd party include file...
Is there a better design suggestion for this? Or a better way to link the 2 projects in visual studio.
my consumer dll, does have my lib's include directory referenced, and I added the project as reference, so the lib output should be setup too.
to help visualize
3rd party code -> my wrapper lib -> my dll consumer.
does it seem like my consumer code should have to include the same header files that my my wrapper project is meant to abstract away.