Hi,
Using CMake 3.27+ and clang 16/17+ (or gcc 13.2+), what would be the best way to have a project B import a module generated in a project A, out of tree ?
I am on Linux.
Many examples out there are not out-of-tree.
–Global dev dir
-----Project A
—build
—src
—includes
—CMakeLists.txt
-----Project B
—build
—src
—includes
—CMakeLists.txt
-----Project C
—build
—src
—includes
—CMakeLists.txt
Projects are independent but Project A is a module, project B and C ae executables.
Right now, Project A is a static library imported in B and C. Works perfectly fine as is.
But I am willing to test.
More globally, having a best practice thread, evolving with the implementations, would be phenomenal.
Thanks