[CMake] ExternalProject in 2.6

David Cole david.cole at kitware.com
Mon Jun 20 07:43:11 EDT 2011


2011/6/20 Ilja Golshtein <ilejncs at narod.ru>

> Michael,
>
> the problem is I cannot make my project dependent on CMake 2.8
> since 2.8 does not exist in major server distros.
>
> That is why I am asking if it is impossible/possible/already_done to
> backport ExternalProject to 2.6.
>
> Thanks.
>
> 20.06.2011, 13:39, "Michael Wild" <themiwi at gmail.com>:
> > On 06/20/2011 11:28 AM, Ilja Golshtein wrote:
> >
> >>  Hello,
> >>
> >>  is it possible to backport ExternalProject to 2.6?
> >>  Did anyone try successfully or unsuccessfully?
> >>
> >>  Unfortunately 2.8 is not an option since it is not included even in
> recent RHEL 6.0.
> >>
> >>  Thanks.
> >
> > You can also download the 2.8 binaries from http://cmake.org, unpack
> > them somewhere convenient and then include the bin/ directory in your
> > PATH. Very simple, works on virtually all Linux systems and there's no
> > need to compile anything (except for your own code, that is ;-))
> >
> > Michael
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.cmake.org/mailman/listinfo/cmake
>
> --
> Best regards,
> Ilja Golshtein.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


It would be prohibitively difficult to use ExternalProject with cmake 2.6.

It uses the "cmake --build" feature extensively, which is only in cmake 2.8.

I'm sure you could do it, but it would be a fairly significant effort.

We have no plans to do so.


HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110620/6db4a135/attachment.htm>


More information about the CMake mailing list