]> Creatis software - crea.git/blob - appli/creaNewProject/NewProject/doc/UserDoxygen/CMakeLists.txt
b36b296b96a774a3cdfdc4c9d9fa098a644f495c
[crea.git] / appli / creaNewProject / NewProject / doc / UserDoxygen / CMakeLists.txt
1 MESSAGE(STATUS "")
2 MESSAGE(STATUS "=======================================")
3 MESSAGE(STATUS "Configuring user doxygen doc")
4
5
6 #SET THE .h FILES INHERITED FROM OTHER PROJECTS, THIS WILL GENERATE COMPLETE DIAGRAMS OF HERITAGE IN DOXYGEN
7 SET(EXTERNALINHERITED 
8    )
9
10
11 GET_PROPERTY(INC_DIRS DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
12
13 #message(status "*********** EXTERNALINHERITED ${EXTERNALINHERITED}")
14 foreach(fileinherited ${EXTERNALINHERITED})
15         FIND_FILE(F0_${fileinherited} ${fileinherited}
16                   HINTS ${INC_DIRS})
17
18         SET(ALL_INHERITED "${F0_${fileinherited}} ${ALL_INHERITED}")    
19 endforeach(fileinherited)
20
21 #message(status "*********** ALL_INHERITED ${ALL_INHERITED}")
22
23
24
25 SET(INPUT 
26   ${CMAKE_CURRENT_BINARY_DIR}/UserDocumentationLinks.txt
27   ${PROJECT_SOURCE_DIR}/lib
28   ${PROJECT_SOURCE_DIR}/appli
29   ${ALL_INHERITED}
30   )
31
32 INCLUDE(../../cmake/UserBuildDoxygenDoc.cmake)
33
34 USER_BUILD_DOXYGEN_DOC(
35   "${PROJECT_NAME}" 
36   "${INPUT}" 
37   "${PROJECT_NAME}" 
38   "${DOXYGEN_DOC_PREDEFINED}"
39   )
40
41 MESSAGE(STATUS "=======================================")