I have two projects on the go, one is a library, and the other wants to use some of that library.
My directory structure is:
Work/
ProjectA/
src/
include/
build/
ProjectB/
src/
build/
Assume both projects are built with meson-build, and projectA is the library.
1- How do I get ProjectB to see the include files of ProjectA? 2- How do I link the .lib file of projectA? (which is currently in the build folder)
When I try to create a dependency using relative paths, I cant find the thing that gets the .lib file? I am only able to get the header files using:
a_dep = declare_dependency(include_directories : include_directories('../../ProjectA/src/include'))
Note I am using windows, but also will be using linux.