Add CMake support #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch ":main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps
Purpose
I want to use the aparoksha frameworks inside a cmake project and this is the foundation of them all.
Approach
Adds a few CMakeLists files that replicate what SPM does and makes it possible to fetch Meta via CMake. Hopefully this doesn't add much overhead to the project 🤞.
Thank you so much for the contribution! I'm happy to merge this!
I hope you don't mind me attempting to add support into adwaita. Getting it to build should be fairly simple but i'm not too sure about getting it to full parity with the SPM version because of the dependencies.
Specifically Generation and Meta-sqlite. At the start I'm thinking of skipping Generation. As for Meta-sqlite, using compiler directives i.e "#if CMAKE" and resorting back to the old json serialiser for the time-being.
Maybe in the future, forking the missing repositories and adding CMake support to them as well. Would that be fine with you?
That sounds perfect! Thanks for working on this! Skipping Adwaita's generation and the solution with compiler directives for SQLite both are good solutions 🙏.