When adding as CMake subdirectory adds many extra projects
adishavit opened this issue · 5 comments
adishavit commented
When I put this repo as a submodule, I can of course include just the header file.
However, how can I use this as a library dependency without getting all the test projects into my build?
martinmoene commented
I plan to provide CMake packages for the nonstd lite projects as with gsl lite, which I hope is an answer to your problem. However, there's only so much one can do...
adishavit commented
Never used them.
But span-lite works well with no superfluous projects.
martinmoene commented
ok thanks, that'll be a change I can do quite quickly.
martinmoene commented
... done.
adishavit commented
Fantastic!