[CMake] Building third party libraries along with normal targets

Robert Dailey rcdailey.lists at gmail.com
Thu Mar 30 09:45:07 EDT 2017


On Thu, Mar 30, 2017 at 3:42 AM, Tamás Kenéz <tamas.kenez at gmail.com> wrote:
> An alternative to the CMake superbuild: leave your actual project intact.
> Simply create a separate shell script which builds all the dependencies (by
> running cmake commands). Or, if you do like the ExternalProject stuff,
> create a superbuild which builds only the dependencies.

Problem with that is that it's not a portable solution. The #1 benefit
of using CMake superbuilds (supplied with CMake build solution for the
target library) is that it will function correctly on all platforms.


More information about the CMake mailing list