SET(DOXYGEN_PROJECT_NAME "${NAME}")
# Inputs
- #STRING(REGEX REPLACE ";" " " DOXYGEN_INPUT "${INPUT}")
+ STRING(REGEX REPLACE ";" " " DOXYGEN_INPUT "${INPUT}")
# Output dirs
SET(DOXYGEN_HTML_OUTPUT ".")
- SET(DOXYGEN_OUTPUT "${${PROJECT_NAME}_DOXYGEN_BUILD_PATH}/${DOC_RELATIVE_INSTALL_PATH}")
+ SET(DOXYGEN_OUTPUT "${${PROJECT_NAME}_DOXYGEN_BUILD_PATH}")
STRING(REGEX REPLACE " " "~" DOXYGEN_OUTPUT "${DOXYGEN_OUTPUT}")
# Construct absolute build path
SET(BUILD_PATH ${${PROJECT_NAME}_DOC_BUILD_PATH}/${OUTPUT_REL_PATH})
#-------------------------------------------------------------------------
- IF(WIN32)
- SET(TTH_EXECUTABLE "${TTH_EXECUTABLE}/tth.exe")
- ENDIF(WIN32)
+ #IF(WIN32)
+ # SET(TTH_EXECUTABLE "${TTH_EXECUTABLE}/tth.exe")
+ #ENDIF(WIN32)
#message("MACRO(USER_BUILD_HTML_DOC_FROM_LATEX TEX_FILE OUTPUT_REL_PATH) TTH_EXECUTABLE ${TTH_EXECUTABLE}")
ADD_CUSTOM_COMMAND(
${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt
@ONLY IMMEDIATE
)
+
+FILE(GLOB_RECURSE ALLSOURCE ${PROJECT_SOURCE_DIR}/lib/*.cxx ${PROJECT_SOURCE_DIR}/lib/*.h)
+FILE(GLOB_RECURSE ALLAPPLI ${PROJECT_SOURCE_DIR}/appli/*.cxx ${PROJECT_SOURCE_DIR}/appli/*.h)
SET(INPUT
${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt
- ${PROJECT_SOURCE_DIR}/lib
- ${PROJECT_SOURCE_DIR}/appli
+ ${ALLSOURCE}
+ ${ALLAPPLI}
)
-
INCLUDE(../../cmake/UserBuildDoxygenDoc.cmake)
+
USER_BUILD_DOXYGEN_DOC(
"${PROJECT_NAME}"
"${INPUT}"
+\usepackage{ifpdf}
% ==========================================
\newif\ifpdf
\ifx\pdfoutput\undefined \pdffalse % we are not running PDFLaTeX