enum-flags
enum-flags copied to clipboard
Adding support for CMake
I'm just exploring the possibility of adding support for CMake (while keeping support for Jam), in order to export the library for use in other CMake projects (something similar to this project or maybe more like this one):
- as a standalone external dependency or
- as a git submodule
At the moment I have a preliminary basic CMake file, but I could expand it and include running of unit tests as well.
Would a PR like that be considered?
If you are still interested, PR #18 adds installation of CMake config file, which allows using the project via find_package
(see here for an example).
Hey, sorry for the long delay in replying. Although I don't actively use this project anymore, I'll have a look at this PR soonish.
The cmake exports are non-relocatable.
Indeed. I believe, I have the fix in the works, but first I need to come up with a good way to test for exports being relocatable.