On Friday 24 April 2009, Theodore Papadopoulo wrote:
> I'm trying to use cmake for one of my projects.
>
> As an experience, I have tried to mimick the gnu make check as indicated
> in the web pages, 

Where ?

> but decided
> for some reason to keep the "test" target name. But when, I issuing a
> ADD_DEPENDENCIES(test XXX)
> cmake tells me that there is no dependency name "test", but when I'm
> trying to add one, then it claims there

CMake generates already a target named "test", but this is a "special target", 
you cannot use it with add_dependencies().
Just use a different name for that.

Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to