From e4822bbb6a609c789a1823ede587ca3adf6feeb2 Mon Sep 17 00:00:00 2001 From: flithm Date: Fri, 31 Aug 2007 12:41:09 +0000 Subject: [PATCH] Add index.html generation --- cmaked/UseDDoc.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cmaked/UseDDoc.cmake b/cmaked/UseDDoc.cmake index f941660..fa250c8 100644 --- a/cmaked/UseDDoc.cmake +++ b/cmaked/UseDDoc.cmake @@ -57,5 +57,17 @@ else (NOT CMAKE_D_BUILD_DOCS) set(modString "${modString}\t$(MODULE ${item})\n") endforeach(item) file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/documentation/candydoc/modules.ddoc" ${modString}) + + # create index.html + set(modString "${PROJECT_NAME} API Documentation\n") + set(modString "${PROJECT_NAME} API Documentation:
\n") + set(modString "${modString}\n") + set(modString "${modString}\n") + file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/documentation/index.html" ${modString}) endif (NOT CMAKE_D_BUILD_DOCS)