-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake support and project structure #48
Comments
Sounds reasonable. Renaming |
And updating the paths listed in the include lines. i.e. Separate note, in this change I'd like to also put everything namespaces to avoid name collisions. I notice some files are wrapped in |
I probably couldn't think of a good generic namespace, especially as this project is part of |
Ah, thanks for the clarification. For the namespacing, maybe something like this?:
Also I'm now seeing the note I overlooked about this being a fork. How would you like to handle PRs in that case? Should they be opened against this repo or to indexed_bzip2 ? |
Maybe
Against |
Sounds good. I'll need to get approval for contributing to the other repo, but I can start in off of this fork. I can issue them over there if you do not get to it first! |
Hey there! I'm interested in packaging this for use in another CMake project. Currently, I've vendored in these sources as part of my POC work, but changing up the structure would allow me to package this internally a lot easier.
I notice a lot of the hpp files use very common names. That will lead to possible collisions with other packages, making placing them in a system include dir challenging. e.g.
#include <common.hpp>
and#include <Error.hpp>
.I'm thinking we could update the includes in the project to specify a base directory. e.g. instead of
We could try something like this:
I'm willing to contribute this change, but want to get your thoughts before I moved forward on that!
The text was updated successfully, but these errors were encountered: