On 10/08/2014 03:45 AM, Amine Khaldi wrote:
> Reverting this change makes more sense

This is the simplest solution for the upcoming 3.1 release because
it just restores behavior to what 3.0 does.  I've done it here:

 Ninja: Limit custom command side-effects to build folder
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=de8e534b

> simply to solve a problem that is, if some projects do *not*
> properly use CMake (GENERATED property, adding dependencies
> properly on commands/target that generate the said input
> files...etc) we need to do this to keep them working.

This is not about supporting projects that do it wrong.  Ninja
wants to know not just that a file is generated, but also *which*
custom command generates it.  We have no interface for specifying
side-effect outputs whose timestamps do not need to be newer than
the inputs.  That is what this issue is about:

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

The reason is that CMake was designed long before Ninja existed, and
all the other build systems not only do not need this information,
but have no place to put it even if we did have it.

See also my reply to Adam's sibling message to yours.

-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