aboutsummaryrefslogtreecommitdiffstats
path: root/lib/doc
diff options
context:
space:
mode:
authorEnrico Loparco (eloparco) <eloparco@cisco.com>2021-06-24 09:15:41 +0200
committerEnrico Loparco (eloparco) <eloparco@cisco.com>2021-06-24 09:15:41 +0200
commit229385955109b866a23c4ac2aa03d4d11044c39d (patch)
tree0591f9c2fc4144d62330337cc2b94c63dfeded54 /lib/doc
parent6ffbb5ed61733b8dbef39b1a9d437e899e9359d7 (diff)
[HICN-708] Rebase with master
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I2122e1d61dd3b2e039972624ffbdbcb3c5610159
Diffstat (limited to 'lib/doc')
-rw-r--r--lib/doc/CMakeLists.txt35
-rw-r--r--lib/doc/Doxyfile.in12
2 files changed, 0 insertions, 47 deletions
diff --git a/lib/doc/CMakeLists.txt b/lib/doc/CMakeLists.txt
deleted file mode 100644
index 135addc09..000000000
--- a/lib/doc/CMakeLists.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-# add a target to generate API documentation with Doxygen
-find_package(Doxygen)
-option(BUILD_DOCUMENTATION "Create and install the HTML based API documentation (requires Doxygen)" ${DOXYGEN_FOUND})
-
-if(BUILD_DOCUMENTATION)
- if(NOT DOXYGEN_FOUND)
- message(FATAL_ERROR "Doxygen is needed to build the documentation.")
- endif()
-
- set(doxy_main_page ${CMAKE_CURRENT_SOURCE_DIR}/../README.md)
- set(doxyfile_in ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in)
- set(doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
-
- # extract version from git
- execute_process(
- COMMAND git describe --long --match v*
- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
- OUTPUT_VARIABLE VERSION
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
-
- if (NOT VERSION)
- set(VERSION "v1.0-1-gcafe")
- endif()
-
- configure_file(${doxyfile_in} ${doxyfile} @ONLY)
-
- add_custom_target(doc
- COMMAND ${DOXYGEN_EXECUTABLE} ${doxyfile}
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Generating API documentation with Doxygen"
- VERBATIM)
-
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION share/doc OPTIONAL)
-endif()
diff --git a/lib/doc/Doxyfile.in b/lib/doc/Doxyfile.in
deleted file mode 100644
index a28fb3a1a..000000000
--- a/lib/doc/Doxyfile.in
+++ /dev/null
@@ -1,12 +0,0 @@
-PROJECT_NAME = "Hybrid ICN (hICN)"
-PROJECT_NUMBER = @VERSION@
-STRIP_FROM_PATH = @PROJECT_SOURCE_DIR@ \
- @PROJECT_BINARY_DIR@
-INPUT = @doxy_main_page@ \
- @PROJECT_SOURCE_DIR@ \
- @PROJECT_BINARY_DIR@
-FILE_PATTERNS = *.md \
- *.h \
- *.cc
-RECURSIVE = YES
-USE_MDFILE_AS_MAINPAGE = @doxy_main_page@