diff options
author | glx22 <glx@openttd.org> | 2020-12-10 23:57:27 +0100 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2020-12-12 15:48:04 +0100 |
commit | 6fae0b83d9f0ddc28d6f1cadf3c8aef126004429 (patch) | |
tree | b2d0ee8b9a9a144048f00d0e2285922ef542e1aa /cmake/scripts | |
parent | 7f5afbfdf5ac288da188276430c30b3ed0af99f8 (diff) | |
download | openttd-6fae0b83d9f0ddc28d6f1cadf3c8aef126004429.tar.xz |
Add: [CMake] targets to generate documentation
Diffstat (limited to 'cmake/scripts')
-rw-r--r-- | cmake/scripts/FindVersion.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/scripts/FindVersion.cmake b/cmake/scripts/FindVersion.cmake index bb754fc5b..c920e6b8c 100644 --- a/cmake/scripts/FindVersion.cmake +++ b/cmake/scripts/FindVersion.cmake @@ -137,4 +137,16 @@ else() message(STATUS "Generating CPackProperties.cmake") configure_file("${CMAKE_SOURCE_DIR}/CPackProperties.cmake.in" "${CPACK_BINARY_DIR}/CPackProperties.cmake" @ONLY) + + message(STATUS "Generating Doxyfile") + configure_file("${CMAKE_SOURCE_DIR}/Doxyfile.in" + "${CPACK_BINARY_DIR}/Doxyfile") + + message(STATUS "Generating Doxyfile_AI") + configure_file("${CMAKE_SOURCE_DIR}/src/script/api/Doxyfile_AI.in" + "${CPACK_BINARY_DIR}/Doxyfile_AI") + + message(STATUS "Generating Doxyfile_GS") + configure_file("${CMAKE_SOURCE_DIR}/src/script/api/Doxyfile_GS.in" + "${CPACK_BINARY_DIR}/Doxyfile_GS") endif() |