[CMake] dependence on externally built file
Petr Kmoch
petr.kmoch at gmail.com
Mon Sep 10 03:38:28 EDT 2012
Hi Krzysztof.
The easiest way is to list the external file among the target's
sources in add_executable/add_library, if possible.
Petr
On Sun, Sep 9, 2012 at 9:20 PM, Krzysztof <kj at limes.com.pl> wrote:
> How to make a project dependent on an external file? The file could be a
> library built by custom tool or by another cmake project which is not the
> part of this one. I mean the project target should be built when the file is
> newer than this.
>
> --
> Regards
> Krzysztof J.
>
>
> --
>
> 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
More information about the CMake
mailing list