enum-flags icon indicating copy to clipboard operation
enum-flags copied to clipboard

Adding support for CMake

Open compor opened this issue 6 years ago • 4 comments

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?

compor avatar Mar 30 '18 16:03 compor

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).

grisumbras avatar Mar 27 '19 09:03 grisumbras

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.

compor avatar May 06 '19 10:05 compor

The cmake exports are non-relocatable.

barcharcraz avatar Oct 12 '19 05:10 barcharcraz

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.

grisumbras avatar Oct 14 '19 06:10 grisumbras