CPM.cmake icon indicating copy to clipboard operation
CPM.cmake copied to clipboard

use boost-cmake again

Open ClausKlein opened this issue 3 years ago • 10 comments

  • 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$ 

ClausKlein avatar Jun 04 '22 21:06 ClausKlein

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?

ClausKlein avatar Sep 20 '22 19:09 ClausKlein

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?

iboB avatar Sep 28 '22 06:09 iboB

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

CraigHutchinson avatar Oct 11 '22 14:10 CraigHutchinson

@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 :)

@CraigHutchinson Do you something like this? https://github.com/ClausKlein/boost-cmake#readme

ClausKlein avatar Oct 24 '22 06:10 ClausKlein

@ClausKlein any thoughts / progress on moving your fork to the CMakePackageRegistry org?

TheLartians avatar Feb 20 '23 19:02 TheLartians

@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

ClausKlein avatar Feb 20 '23 21:02 ClausKlein

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.

CraigHutchinson avatar Feb 21 '23 18:02 CraigHutchinson

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!

CraigHutchinson avatar Feb 23 '23 13:02 CraigHutchinson

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

CraigHutchinson avatar Feb 23 '23 19:02 CraigHutchinson

I give it up

ClausKlein avatar Apr 02 '24 19:04 ClausKlein