[CMake] [BUG] ADD CUSTOM TARGET "broken"

Ken Martin ken.martin at kitware.com
Tue Jul 5 09:22:02 EDT 2005


I believe both of these have been fixed.

Thanks
Ken

> -----Original Message-----
> From: cmake-bounces+ken.martin=kitware.com at cmake.org [mailto:cmake-
> bounces+ken.martin=kitware.com at cmake.org] On Behalf Of Filipe Sousa
> Sent: Monday, July 04, 2005 10:36 AM
> To: cmake at cmake.org
> Subject: Re: [CMake] [BUG] ADD CUSTOM TARGET "broken"
> 
> On Monday 04 July 2005 16:23, Alexander Neundorf wrote:
> > Hi,
> >
> > it seems ADD_CUSTOM_TARGET() adds the target only in the top level
> > makefile, but not in the "local" makefile where it was called (cmake cvs
> > june 29th).
> > Attached is a testcase with a custom target "foo" both in cmake-act/d1/
> > and in cmake-act/d2/.
> > "make foo" fails both in cmake-act/d1/ and in cmake-act/d2/.
> > "make foo" succeeds in cmake-act/ and makes both foo in d1/ and in d2/
> > (which is very nice btw.).
> 
> Not only "make foo" fails but also "make rebuild_cache" fails
> 
> fsousa at neptuno ~/tmp/cmake-act/build/d2 $ make rebuild_cache
> Running CMake to regenerate build system...
> /usr/local/bin/cmake -H.. -B.
> CMake Error: The source directory "/home/fsousa/tmp/cmake-act/build" does
> not
> appear to contain CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
> make: *** [rebuild_cache] Error 254
> 
> 
> > Bye
> > Alex
> 
> --
> Filipe Sousa



More information about the CMake mailing list