[cmake-developers] Adding Ninja file dependency to ExternalProject target
Chris Bieneman
chris.bieneman at me.com
Mon Nov 9 11:20:52 EST 2015
Hi Brad,
Thanks for the recommendation. I’ll give it a try today.
-Chris
> On Nov 9, 2015, at 6:29 AM, Brad King <brad.king at kitware.com> wrote:
>
> On 11/06/2015 05:16 PM, Chris Bieneman wrote:
>> external project will have a file-dependency on clang?
>
> From a quick check it looks like ExternalProject has no interface
> to directly add file-level dependencies to the builtin configure step.
> That should be corrected if anyone is interested in working on it.
>
> Meanwhile you should be able to work around the limitation by
> using ExternalProject_Add_Step to insert your own step on which
> the 'configure' step depends, and then list the needed file-level
> dependencies with the DEPENDS option. Use $<TARGET_FILE:...> to
> refer to the clang executable file if needed.
>
> -Brad
>
> --
>
> 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-developers
More information about the cmake-developers
mailing list