Tectu / botan-cmake

Easy botan integration into cmake projects using automatically generated amalgamation files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support pre-feeding a botan repo path

NtWriteCode opened this issue · comments

I like bringing my botan as a submodule and it would be amazing if I could feed this cmake the path where to find it instead of downloading the botan tarball.

I know, downloading of 10ish megs doesn't take too much time, but still, it'd be nice if I could make my compilation/build process working completely offline too.

Do you think it's feasible? I think the config/build script is not polluting the actual botan repository, so doing multiple builds on the same repo without entirely wiping/resetting the folder should not be an issue, or is it?

That should definitely be possible - I don't see anything preventing us from doing that from the top of my head.
I'll put this on the ToDo list for the weekend :)

Just created a possible implementation:
#3

I'm not the most experienced in cmake, but seemed decent enough

Merged - Thank you for your contribution!