On Tue, Nov 10, 2009 at 01:54:06PM -0600, Mark Moll wrote:
>       add_dependencies(package doc)
> 
> where doc is a target that forces doxygen to run. However, this
> doesn’t work, because the package target isn’t defined. How do I get
> around this?

You can't add dependencies to the "special" CMake targets (package,
install, test, etc.). There's a bug about this in the bug base.

As a workaround, you can make a new custom_target that depends on both
package and doc. The bug might have additional workaround ideas.

tyler
_______________________________________________
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