summaryrefslogtreecommitdiff
path: root/vendor/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-08 21:53:46 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-10 16:17:18 +0200
commit10ec2d23f14cf5d3e4835d9bcb57d0937f803e6a (patch)
tree6b94f158da77f56a59099078a178bb5832f2d9a7 /vendor/CMakeLists.txt
parent0d04a4987feb9ec45ddfa03270e20f76cae02a84 (diff)
CMake: Rewrite existing Documentation support and add doxygen
This can now build all documentation. It should also be fairly reusable for other projects, as long as they follow the same naming scheme for the po4a output files and set the PACKAGE_* variables used here. We could have done all translations in a single call to po4a like the makefile based buildsystem does. While that would have made the output slightly nicer, this solution offers a huge performance gain because it can translate the documents in parallel, which also means that the xsltproc stage does not have to wait for all translations to be done first. You might think that the add_custom_command() should list the actual output files as BYPRODUCTS. This is not true however: Because the files are not always generated, Ninja will think missing byproducts mean that the target is out of date - which is not what we want. Finally, also add the missing doxygen support. Note that the packaging script cleans up some md5 and map files created by doxygen, otherwise it is fairly boring.
Diffstat (limited to 'vendor/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions