[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] add_custom_command and re-running command when target in DEPENDS was updated
From:       Maciej Mrozowski <reavertm () gmail ! com>
Date:       2016-08-29 21:44:30
Message-ID: 4244379.SUtfHYaurZ () liwardyna
[Download RAW message or body]

On poniedziaƂek, 29 sierpnia 2016 23:31:59 CEST you wrote:

> add_custom_command documentation says:
> 
> <quote>
> The DEPENDS option specifies files on which the command depends. If any
> dependency is an OUTPUT of another custom command in the same directory
> (CMakeLists.txt file) CMake automatically brings the other custom command
> into the target in which this command is built.

One possibly important note I forgot.
Mentioned add_jar and add_custom_command in my case are NOT in the same 
directory, but I guess it should not matter since I have explicit 'DEPENDS 
generator'?

-- 
regards
MM
-- 

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic