/usr/share/dune/cmake/scripts/CreateDoxyFile.cmake is in libdune-common-dev 2.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # For now we just support appending Doxyfile and Doxylocal
file(READ ${DOXYSTYLE} file_contents)
file(WRITE Doxyfile.in ${file_contents})
if(DOXYLOCAL)
file(READ ${DOXYLOCAL} file_contents)
endif()
file(APPEND Doxyfile.in ${file_contents})
# configure_file does not work as it insists an existing input file, which in our
# needs to be generated first.
# Therefore we read the Doxyfile.in and replace the variables using string(CONFIGURE)
# and then write the file.
file(READ Doxyfile.in file_contents)
string(CONFIGURE ${file_contents} output)
file(WRITE Doxyfile ${output})
|