Re: [CMake] Bug? A failure in add_custom_command/POST_BUILD does not propagate to target.

2009-04-20 Thread Hugo Heden
On Fri, Apr 17, 2009 at 10:19 PM, Alexander Neundorf < a.neundorf-w...@gmx.net> wrote: > On Friday 17 April 2009, Hugo Heden wrote: > > The following example illustrates a possible bug. > > > > Consider the following CMakeLists.txt code. This little "project" should > > fail when the target MyTarg

Re: [CMake] Bug? A failure in add_custom_command/POST_BUILD does not propagate to target.

2009-04-17 Thread Alexander Neundorf
On Friday 17 April 2009, Hugo Heden wrote: > The following example illustrates a possible bug. > > Consider the following CMakeLists.txt code. This little "project" should > fail when the target MyTarget is built (because one of the POST_BUILD > custom commands fails). > > =

[CMake] Bug? A failure in add_custom_command/POST_BUILD does not propagate to target.

2009-04-17 Thread Hugo Heden
The following example illustrates a possible bug. Consider the following CMakeLists.txt code. This little "project" should fail when the target MyTarget is built (because one of the POST_BUILD custom commands fails). === cmake_minimum_required(VERSION 2.6) PROJECT( test )