You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rlorigro tried to use libbdsg as a CMake ExternalProject.
It didn't really work; the ExternalProject dependencies that libbdsg pulls in weren't being installed alongside libbdsg itself when Ryan's CMake project installed libbdsg, and headers and libraries were missing.
The way he actually made libbdsg work as an ExternalProject dependency was to depend on libdsg_easy and make IMPORTED libraries for all the transitive dependency libraries:
The key issue is that our CMakeLists.txt isn't installing the header files that we depend on.
For building in another project, it's possible to specifically add the header directories to the includes. That's not ideal, but I've found it workable.
Then these include directories are added to the includes for the excutable later. It's not nice, but it works.
I'm also building a few things that are common (like sdsl-lite) and require libraries to be built. What a mess.
We might also consider dumping all of the header files into a common include file and referring to that everywhere. (I'm hoping no package maintainers are reading this... 😈 )
@rlorigro tried to use libbdsg as a CMake ExternalProject.
It didn't really work; the ExternalProject dependencies that libbdsg pulls in weren't being installed alongside libbdsg itself when Ryan's CMake project installed libbdsg, and headers and libraries were missing.
The way he actually made libbdsg work as an ExternalProject dependency was to depend on libdsg_easy and make IMPORTED libraries for all the transitive dependency libraries:
https://github.com/rlorigro/GetBlunted/blob/aae419d3c2c338d7722cd4de585e80bfad479f9b/CMakeLists.txt#L145-L198
We need to devise a working tutorial for depending on libbdsg via CMake ExternalProject, ideally not using libbdsg_easy, and add it to the docs.
The text was updated successfully, but these errors were encountered: