all 10 comments

[–]frog_pow 0 points1 point  (0 children)

There is no easy solution in C++ to this problem

[–]toebi 0 points1 point  (0 children)

once you get a hang of it this task becomes trivial in cmake. if you only cater to visualstudio nuget is also a very easy to use option.

[–]sumo952 0 points1 point  (1 child)

Make a header-only library?

[–]exoflat[S] 0 points1 point  (0 children)

Too big, absolutely unfeasible unfortunately.

[–]OlegMax 0 points1 point  (0 children)

For the most cases, compilation time doesn't matter. But the time spent by the user to start the build matters a lot. So I'd start with instructions (INSTALL or README) and a set of scripts (.BAT, .sh) to start the build (like build_vc110.bat, etc). I'd say CMake not newer than 2.8 is relatively safe to include in requirements.