boost-cmake icon indicating copy to clipboard operation
boost-cmake copied to clipboard

Feature Request : checking in partial boost trees.

Open bryan-lunt opened this issue 6 years ago • 4 comments

It would be great if we could use boost-cmake to download boost, identify which modules we need and then only check those modules into git. Then future calls to cmake could use the boost tree that was in git instead of downloading all of boost anew.

bryan-lunt avatar Feb 25 '19 22:02 bryan-lunt

There is #75 to download Boost from the git repository that is experimental. Downloading just a subset is tricky though as you would need to know the exact list of repositories you need.

What is the real use case behind it?

Orphis avatar Feb 26 '19 02:02 Orphis

Well, I wasn't thinking of downloading only a subset. I was thinking of having it download all of it, but then you can check a subset into your git repo. boost-cmake would then see that the parts you are asking for already exist and abstain from downloading.

bryan-lunt avatar Feb 26 '19 05:02 bryan-lunt

Then, I think combining #75 and providing the fetch content source yourself, it would work. Can you give it a go maybe?

Orphis avatar Feb 27 '19 00:02 Orphis

I'll give it a try, eventually.

bryan-lunt avatar Feb 27 '19 05:02 bryan-lunt