Pārlūkot izejas kodu

Moved Doxyfile template into cmake folder

Thomas Buck 10 gadus atpakaļ
vecāks
revīzija
e7e5d6d59a
2 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. 5
    3
      CMakeLists.txt
  2. 0
    0
      cmake/Doxyfile.in

+ 5
- 3
CMakeLists.txt Parādīt failu

@@ -51,12 +51,14 @@ add_custom_target (checkConfig echo "Checking cppcheck config..."
51 51
 find_package (Doxygen)
52 52
 if (DOXYGEN_FOUND)
53 53
     # Configure the Template Doxyfile for our specific project
54
-    configure_file(Doxyfile.in 
54
+    configure_file (cmake/Doxyfile.in 
55 55
         ${PROJECT_BINARY_DIR}/Doxyfile  @ONLY IMMEDIATE)
56
+
56 57
     # Add a custom target to run Doxygen when ever the project is built
57 58
     add_custom_target (doc
58 59
   	    COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_BINARY_DIR}/Doxyfile
59 60
   		SOURCES ${PROJECT_BINARY_DIR}/Doxyfile)
61
+
60 62
     # Add custom target to create local documentation without graphs
61 63
     add_custom_target (docLocal
62 64
         COMMAND sed -i '' "s/HAVE_DOT               = YES/HAVE_DOT               = NO/g" Doxyfile
@@ -64,7 +66,7 @@ if (DOXYGEN_FOUND)
64 66
         COMMAND cp -R doc/html/* ${PROJECT_SOURCE_DIR}/../apache/
65 67
         COMMAND sed -i '' "s/HAVE_DOT               = NO/HAVE_DOT               = YES/g" Doxyfile
66 68
         SOURCES ${PROJECT_BINARY_DIR}/Doxyfile)
67
-endif(DOXYGEN_FOUND)
69
+endif (DOXYGEN_FOUND)
68 70
 
69 71
 # Clean doc files
70
-set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "doc")
72
+set_directory_properties (PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "doc")

Doxyfile.in → cmake/Doxyfile.in Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt