[CMake] how to add custom command/step to ExternalProject_Add ?
David Cole
DLRdave at aol.com
Fri Apr 8 22:05:52 EDT 2016
This file has an example use which executes after download and before configure:
https://github.com/Kitware/CMake/blob/master/Tests/ExternalProjectLocal/CMakeLists.txt
HTH,
David C.
> On Apr 8, 2016, at 6:39 PM, jagernicolas at legtux.org wrote:
>
> Hi,
>
> my question is related to : http://stackoverflow.com/questions/36506300/using-autogen-sh-with-externalproject-add
>
> I have to use ExternalProject_Add to compile https://github.com/fukuchi/libqrencode as a gitmodule, it requires to run autogen.sh before running configure.
>
> I don't understand how to use ExternalProject_Add_Step to add a step before CONFIGURE_COMMAND.
>
>
>
> regards,
>
> Nicolas
>
>
>
>
> --
>
> 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/20160408/2cab9022/attachment.html>
More information about the CMake
mailing list