Describe the enhancement requested
Arrow has some great custom cmake functionality (e.g. helper functions for option handling and pretty printing, build utils...) and it seems that adbc and nanoarrow are already copying some of that into their own repos.
I think it would make sense to refactor the functions into proper modules (maybe into an arrow-cmake repo?) ideally with testing (as much as that is possible with cmake...). That way other arrow subprojects and other projects in general could use these functions in a clean way via submodules or even FetchContent.
What do you think @kou @raulcd
Component(s)
Developer Tools