[CMake] Do build after GIT_TAG changed in ExternalProject_Add

David Cole DLRdave at aol.com
Sat Apr 18 14:33:15 EDT 2015


What version of CMake are you using? And what generator?


On Saturday, April 18, 2015, typ1232 <dummdoof-doof at web.de> wrote:

> Hello,
>
> The command is used as follows:
>
> INCLUDE(ExternalProject)
> ExternalProject_Add(name
>     GIT_REPOSITORY https://bitbucket.org/foo/bar.git
>     GIT_TAG 0fcae6c2c975b309b38b8c84ac681b6bf3ae12e7
>     CMAKE_ARGS ""
>     INSTALL_COMMAND ""
> )
> This downloads and builds the project successfully, but if I change the
> GIT_TAG value, cmake only checks out the other commit. The project is not
> rebuilt.
>
>
>
> --
> View this message in context:
> http://cmake.3232098.n2.nabble.com/Do-build-after-GIT-TAG-changed-in-ExternalProject-Add-tp7590299.html
> Sent from the CMake mailing list archive at Nabble.com.
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150418/86f65cda/attachment.html>


More information about the CMake mailing list