[CMake] copying the contents of a directory with cpack
Bill Hoffman
bill.hoffman at kitware.com
Tue Sep 18 10:46:00 EDT 2007
Olivier Delannoy wrote:
> How could I define a custom target of name install_doxygen which is
> going to use INSTALL ? I haven't seen any way to do partial
> installation so far. I am missing something ?
>
> I have a doxygen target and I would like to be able to add the output
> of doxygen to the install target. But I don't want to create the
> doxygen documentation each time I execute the install target. So I am
> wondering how I could create a set of file that is installed only if
> previously generated.
>
> I hope you will understand what I mean
>
>
My suggestion would be to have the doxygen stuff install each time you
run the install target.
You could have a CMake variable that turns this on and off, and only
turn it on when you want
to cpack.
-Bill
More information about the CMake
mailing list