[CMake] [BUG] add_custom_command(TARGET ...) can't see in scope target

Dan Liew dan at su-root.co.uk
Tue Aug 4 22:41:25 EDT 2015


On 4 August 2015 at 14:20, Iosif Neitzke <iosif.neitzke+cmake at gmail.com> wrote:
> "Dependencies listed with the DEPENDS argument may reference files and
> outputs of custom commands created with add_custom_command() in the
> same directory (CMakeLists.txt file)."
>
> http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:add_custom_target

That doesn't really seem to have anything to do with the issue I'm
using. That's the documentation for the DEPENDS argument to
add_custom_target() which I'm not using here. I'm using
add_custom_command()


More information about the CMake mailing list