Hi Folks,

Picking up from this old thread:

 explicit custom command side-effects (was: Severe regression caused by #14972 
fixes)
 
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/11207/focus=11225

and this issue:

 Add explicit specification of custom command side effect outputs
 http://www.cmake.org/Bug/view.php?id=14963

On 10/08/2014 10:26 AM, Brad King wrote:
> Both add_custom_target and add_custom_command can run operations that
> produce side-effects.  Both commands need a way to specify any side
> effects they produce.  Perhaps a new option like "GENERATES" can be
> added for this.
> The GENERATES value(s) would be marked with the GENERATED property.
> For Ninja we would add extra outputs to the generated rule and
> ask Ninja to restat them to avoid the always-rebuild case.  For
> other generators no additional build system content is needed.

I chose the name "BYPRODUCTS" for the option and drafted support:

 Add an option for explicit BYPRODUCTS of custom commands (#14963)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e15a7075

 ExternalProject: Add options to specify BYPRODUCTS (#14963)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=557aef0b

This was in 'next' over the weekend and is clean on the dashboard.

To those that encountered problems requiring this feature, please
try it out to see if it works correctly for your use case.

Thanks,
-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

Reply via email to