3 Commits (7d1d10c338b4af920e26d359a23a597e06da80a1)

Author SHA1 Message Date
Luis Diaz Mas 71638014a3 CMake: control doc generation with a new CMake option 7 years ago
Luis Diaz Mas 211a7a3edd Require dot command for 'doc' and change output folder
dot is needed to generate the exiv2 documentation. Furthermore we were
generating the documentation in ${PROJECT_BINARY_DIR}/html while the
CMake 'install' command was expecting to find the documentation directory
at ${PROJECT_BINARY_DIR}/doc/html. This has been also fixed in this
commit.
7 years ago
Luis Díaz Más d9d2c2217a CMake: macro to generate documentation
We use now the Doxyfile.in template file with some variables that are
replaced at configuration time by absolute paths. Therefore, we can run
later the doxygen command with absolute paths from the
PROJECT_BINARY_DIR.

The CMake 'doc' target is added only if doxygen is available in the
system.
7 years ago