Skip to content

Commit e39f259

Browse files
Refactoring doxygen CMake files.
1 parent cc63c0d commit e39f259

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

doc/CMakeLists.txt

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,8 @@ cmake_minimum_required ( VERSION 3.9 )
99

1010
project ( chops-net-ip-doc VERSION 1.0 LANGUAGES CXX )
1111

12-
find_package ( Doxygen
13-
OPTIONAL_COMPONENTS dot mscgen dia
14-
)
15-
16-
if (DOXYGEN_FOUND)
17-
set ( DOXYGEN_PROJECT_NAME "Chops Net IP API Reference" )
18-
set ( DOXYGEN_PROJECT_BRIEF "Documentation of the classes and functions residing in Chops Net IP" )
19-
set ( DOXYGEN_EXCLUDE_PATTERNS */detail/* )
20-
doxygen_add_docs ( docs
21-
include
22-
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
23-
COMMENT "Document generation command"
24-
)
25-
26-
else (DOXYGEN_FOUND)
27-
message("Doxygen needs to be installed to generate the doxygen documentation")
28-
endif (DOXYGEN_FOUND)
29-
30-
12+
set ( doxygen_proj_name "Chops Net IP Reference" )
13+
include ( "${cmake_all_repos_include_dir}/doxygen_gen.cmake" )
3114

3215
# end of file
3316

0 commit comments

Comments
 (0)