From 8799fe34999ecaaaeef19db1c5a0591fba41751b Mon Sep 17 00:00:00 2001 From: guigues Date: Mon, 4 Feb 2008 08:10:48 +0000 Subject: [PATCH] *** empty log message *** --- .../BBTKConfigurePackage_doc_bbdoc.cmake | 8 +++++++ .../BBTKConfigurePackage_doc_doxygen.cmake | 22 ++++++++++++++++++ kernel/cmake/BBTKCreatePackageBBdoc.cmake | 2 +- packages/std/doc/bbdoc/CMakeLists.txt | 4 ++-- packages/std/doc/bbdoc/header.html.in | 8 +++++++ packages/std/doc/doxygen/CMakeLists.txt | 23 +------------------ packages/wx/doc/bbdoc/CMakeLists.txt | 4 ++-- packages/wx/doc/bbdoc/header.html.in | 8 +++++++ packages/wx/doc/doxygen/CMakeLists.txt | 23 +------------------ 9 files changed, 53 insertions(+), 49 deletions(-) create mode 100644 kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake create mode 100644 kernel/cmake/BBTKConfigurePackage_doc_doxygen.cmake create mode 100644 packages/std/doc/bbdoc/header.html.in create mode 100644 packages/wx/doc/bbdoc/header.html.in diff --git a/kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake b/kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake new file mode 100644 index 0000000..f48e1d0 --- /dev/null +++ b/kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake @@ -0,0 +1,8 @@ +CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/header.html.in + ${CMAKE_CURRENT_BINARY_DIR}/header.html + ) + + +INCLUDE(${BBTK_CMAKE_DIR}/BBTKCreatePackageBBdoc.cmake) +BBTK_CREATE_PACKAGE_BBDOC(${BBTK_PACKAGE_NAME}) diff --git a/kernel/cmake/BBTKConfigurePackage_doc_doxygen.cmake b/kernel/cmake/BBTKConfigurePackage_doc_doxygen.cmake new file mode 100644 index 0000000..cccff12 --- /dev/null +++ b/kernel/cmake/BBTKConfigurePackage_doc_doxygen.cmake @@ -0,0 +1,22 @@ + +CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/DoxyMainPage.txt + ${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt + IMMEDIATE + ) + +SET(INPUT + ${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt + ${CMAKE_CURRENT_SOURCE_DIR}/../../src + ) + + +INCLUDE(${BBTK_CMAKE_DIR}/BBTKBuildDoxygenDoc.cmake) + +BBTK_BUILD_DOXYGEN_DOC( + "${BBTK_PACKAGE_NAME}" + "${INPUT}" + "${BBTK_PACKAGE_DOXYGEN_REL_PATH}" + "${DOXYGEN_DOC_PREDEFINED}" + ) + diff --git a/kernel/cmake/BBTKCreatePackageBBdoc.cmake b/kernel/cmake/BBTKCreatePackageBBdoc.cmake index d73ca1e..65670f7 100644 --- a/kernel/cmake/BBTKCreatePackageBBdoc.cmake +++ b/kernel/cmake/BBTKCreatePackageBBdoc.cmake @@ -17,7 +17,7 @@ MACRO(BBTK_CREATE_PACKAGE_BBDOC PACKAGE_NAME) "include ${PACKAGE_NAME}\n" "include ${PACKAGE_NAME}-appli\n" "#-----------------------------------------\n" - "graph ${PACKAGE_NAME} 0 0 ${DOC_OUTPUT} \"none\" \"Package ${PACKAGE_NAME} documentation\"\n" + "graph ${PACKAGE_NAME} 0 0 ${DOC_OUTPUT} \"${CMAKE_CURRENT_BINARY_DIR}/header.html\" \"Package ${PACKAGE_NAME} documentation\"\n" #${BBTK_DOCUMENT_SCRIPTS_OUTPUT_PATH}/header.html ) # CONFIGURE_FILE( diff --git a/packages/std/doc/bbdoc/CMakeLists.txt b/packages/std/doc/bbdoc/CMakeLists.txt index 3f4a7cc..86ca574 100644 --- a/packages/std/doc/bbdoc/CMakeLists.txt +++ b/packages/std/doc/bbdoc/CMakeLists.txt @@ -1,2 +1,2 @@ -INCLUDE(${BBTK_CMAKE_DIR}/BBTKCreatePackageBBdoc.cmake) -BBTK_CREATE_PACKAGE_BBDOC(${BBTK_PACKAGE_NAME}) +INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_doc_bbdoc.cmake) + diff --git a/packages/std/doc/bbdoc/header.html.in b/packages/std/doc/bbdoc/header.html.in new file mode 100644 index 0000000..b0e7b0a --- /dev/null +++ b/packages/std/doc/bbdoc/header.html.in @@ -0,0 +1,8 @@ + +

bbtk package @BBTK_PACKAGE_NAME@

+ +

+Version @BBTK_PACKAGE_MAJOR_VERSION@.@BBTK_PACKAGE_MINOR_VERSION@.@BBTK_PACKAGE_BUILD_VERSION@ - +by @BBTK_PACKAGE_AUTHOR@ +

+@BBTK_PACKAGE_DESCRIPTION@ diff --git a/packages/std/doc/doxygen/CMakeLists.txt b/packages/std/doc/doxygen/CMakeLists.txt index cccff12..0194111 100644 --- a/packages/std/doc/doxygen/CMakeLists.txt +++ b/packages/std/doc/doxygen/CMakeLists.txt @@ -1,22 +1 @@ - -CONFIGURE_FILE( - ${CMAKE_CURRENT_SOURCE_DIR}/DoxyMainPage.txt - ${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt - IMMEDIATE - ) - -SET(INPUT - ${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt - ${CMAKE_CURRENT_SOURCE_DIR}/../../src - ) - - -INCLUDE(${BBTK_CMAKE_DIR}/BBTKBuildDoxygenDoc.cmake) - -BBTK_BUILD_DOXYGEN_DOC( - "${BBTK_PACKAGE_NAME}" - "${INPUT}" - "${BBTK_PACKAGE_DOXYGEN_REL_PATH}" - "${DOXYGEN_DOC_PREDEFINED}" - ) - +INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_doc_doxygen.cmake) diff --git a/packages/wx/doc/bbdoc/CMakeLists.txt b/packages/wx/doc/bbdoc/CMakeLists.txt index 3f4a7cc..86ca574 100644 --- a/packages/wx/doc/bbdoc/CMakeLists.txt +++ b/packages/wx/doc/bbdoc/CMakeLists.txt @@ -1,2 +1,2 @@ -INCLUDE(${BBTK_CMAKE_DIR}/BBTKCreatePackageBBdoc.cmake) -BBTK_CREATE_PACKAGE_BBDOC(${BBTK_PACKAGE_NAME}) +INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_doc_bbdoc.cmake) + diff --git a/packages/wx/doc/bbdoc/header.html.in b/packages/wx/doc/bbdoc/header.html.in new file mode 100644 index 0000000..b0e7b0a --- /dev/null +++ b/packages/wx/doc/bbdoc/header.html.in @@ -0,0 +1,8 @@ + +

bbtk package @BBTK_PACKAGE_NAME@

+ +

+Version @BBTK_PACKAGE_MAJOR_VERSION@.@BBTK_PACKAGE_MINOR_VERSION@.@BBTK_PACKAGE_BUILD_VERSION@ - +by @BBTK_PACKAGE_AUTHOR@ +

+@BBTK_PACKAGE_DESCRIPTION@ diff --git a/packages/wx/doc/doxygen/CMakeLists.txt b/packages/wx/doc/doxygen/CMakeLists.txt index cccff12..0194111 100644 --- a/packages/wx/doc/doxygen/CMakeLists.txt +++ b/packages/wx/doc/doxygen/CMakeLists.txt @@ -1,22 +1 @@ - -CONFIGURE_FILE( - ${CMAKE_CURRENT_SOURCE_DIR}/DoxyMainPage.txt - ${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt - IMMEDIATE - ) - -SET(INPUT - ${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt - ${CMAKE_CURRENT_SOURCE_DIR}/../../src - ) - - -INCLUDE(${BBTK_CMAKE_DIR}/BBTKBuildDoxygenDoc.cmake) - -BBTK_BUILD_DOXYGEN_DOC( - "${BBTK_PACKAGE_NAME}" - "${INPUT}" - "${BBTK_PACKAGE_DOXYGEN_REL_PATH}" - "${DOXYGEN_DOC_PREDEFINED}" - ) - +INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_doc_doxygen.cmake) -- 2.47.0