[CMake] Force configure step to build and install depends before completing.

Bill Hoffman bill.hoffman at kitware.com
Tue Feb 25 12:44:20 EST 2014


On 2/20/2014 5:54 PM, Jack Smith wrote:
> I think I've have an epiphany.
>
> I've been really struggling to understand how to get my build to work,
> and it seems the problem is with the configure step of cmake.
>
> I would like to see some mechanism whereby I can delay the completion of
> the configure step of a target until the build (and install into an
> install-prefix, I suspect) of its dependencies is complete.
>
> I think this would also require some automatic generation of
> FindXXX.cmake functionality to find that installed target in install-prefix.
>
> Is that possible ?
>
> As usual, what am I missing if not ?

You should look at this:
http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html

-Bill



More information about the CMake mailing list