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

List:       cmake
Subject:    Re: [CMake] Dependency resolution for "add_custom_command" calls?
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2014-04-10 16:03:46
Message-ID: li6fd2$v4u$1 () ger ! gmane ! org
[Download RAW message or body]

On 2014-04-09 12:08, SF Markus Elfring wrote:
> I try to generate some files mainly by calls of the command
> "add_custom_command". One of them should start with the action to copy a source
> file into the build directory.
> 
> But I wonder why this step is not written into a generated make file.
> I would appreciate your advices.

CMake drops unused dependencies / rules from the generated build script. 
Do you have a target that depends on the output file?

-- 
Matthew

-- 

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://www.cmake.org/mailman/listinfo/cmake


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

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