[CMake] add dependency to cpack's "package" target

Mark Moll mmoll at cs.rice.edu
Tue Nov 10 14:34:08 EST 2009


I’d like to force an update of the doxygen-generated documentation before I create a package. It’d be nice if I could do something like:

	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?

-- 
Mark





More information about the CMake mailing list