CPM.cmake
CPM.cmake copied to clipboard
use boost-cmake again
- the clone of the git repo takes to long time!
- and the boost CMake files are not really designed as modern CMake project!
- there is no central include directory!
- the boost CMake system is designed for boost developers to test there submodule
- every module lib that include an header of on other module lib depends on this lib, too if it may used as header-only lib!
bash-3.2$ find . -type d -name include | wc -
163 163 4103 -
bash-3.2$ grep submodule .gitmodules | wc -l
160
bash-3.2$
In any case, I've seen that you've made a pull request to the original project, which I would prefer to use. Perhaps for now we can fallback to the last supported version here and upgrade again after your PR is merged?
Yes, this is my intention.
If my pull request is ignored, we may transfer this repo to cpm-cmake or perhaps better to cmake.org?
I am toying with the idea of proposing the addition CPM-ified and CPM-friendly packages to cpm-cmake. Though I don't yet have a robust enough concrete proposal. So for now I would vote against it.
Note that people have started creating orgs for this on their own. For example this one
@ClausKlein, perhaps @CraigHutchinson would agree to add the boost-cmake repo there?
Note that people have started creating orgs for this on their own. For example this one
@ClausKlein, perhaps @CraigHutchinson would agree to add the boost-cmake repo there?
💯 this is why CMakePackageRepository exists to contain this sort of repository. The repo provides pure CMake project wrappers for things 'I've' needed recently but I hope it can build some momentum.
Would be good to promote this somehow... I was pleasantly surprised it has been noticed already by osmosis!
@ClausKlein Need to document the repo-request workflow but just message me and I can give you admin on boost-cmake if you so desire it :)
@ClausKlein Need to document the repo-request workflow but just message me and I can give you admin on
boost-cmakeif you so desire it :)
@CraigHutchinson Do you something like this? https://github.com/ClausKlein/boost-cmake#readme
@ClausKlein any thoughts / progress on moving your fork to the CMakePackageRegistry org?
@ClausKlein any thoughts / progress on moving your fork to the CMakePackageRegistry org?
No, at the moment I am working on boost v1.81.0 ... https://github.com/ClausKlein/boost-cmake/pull/6
I've sent invites. I haven't used boost for a while but hear since 1.78 it includes CMake as a build options? I also hear its support is somewhat limited.
Please note Why you should NOT use Boost git repo with CPM.cmake and this notes about building-boost-with-cmake
Please note Why you should NOT use Boost git repo with CPM.cmake and this notes about building-boost-with-cmake
thanks, pretty clear, certainly backs up what I heard!
Okay, I realised that I can fork to the cmakepackageregistry. You are admin to the project so can sync as/when and keep the personal copy for dev 🚀 This does mean this PR can use a non-user account name... And starts the registry becoming something more with any hope. I am actually considering using this boost cmake as realise my new company is using some hackery your project may help wi
I give it up