The branch, switch-to-epoll has been updated
via ce9435ff3c290785e0263ae498597e2f834de8d5 (commit)
from 098b93440230d3533f316d73c7836be159ecd567 (commit)
- Log -----------------------------------------------------------------
commit ce9435ff3c290785e0263ae498597e2f834de8d5
Author: Gabriel Braga <gabriel.braga@xxxxxxxxxxxxx>
Date: Tue Apr 9 17:00:33 2024 +0200
Adding DOCUMENTATION flag to CMakeLists.txt
This makes the dmake ignore or not the doxygen documentation creation.
Makes the build less verbose (with less warnings) if set to OFF.
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 25f4754..74b3e4d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,8 +31,9 @@ include_directories(${XMLPP_INCLUDE_DIRS})
link_directories(${XMLPP_LIBRARY_DIRS})
# Documentation
+option(DOCUMENTATION "Generate API documentation with Doxygen" ON)
find_package(Doxygen)
-if(DOXYGEN_FOUND)
+if(DOXYGEN_FOUND AND DOCUMENTATION)
# Find doxy config
message(STATUS "Doxygen found.")
set(DOXY_DIR "${CMAKE_SOURCE_DIR}/doc")
@@ -61,9 +62,9 @@ if(DOXYGEN_FOUND)
add_custom_target(docs ALL DEPENDS ${CMAKE_BINARY_DIR}/doc/html/index.html)
message(STATUS "Generating API documentation with Doxygen.")
-else(DOXYGEN_FOUND)
+else(DOXYGEN_FOUND AND DOCUMENTATION)
message(STATUS "Not generating API documentation.")
-endif(DOXYGEN_FOUND)
+endif(DOXYGEN_FOUND AND DOCUMENTATION)
# Spec file
configure_file(${CMAKE_SOURCE_DIR}/libt2n.spec.in
${CMAKE_SOURCE_DIR}/libt2n.spec @ONLY)
hooks/post-receive
--
C++ inter-process communication library
--
libt2n-git - see http://www.intra2net.com/en/developer/libt2n for details.
To unsubscribe send a mail to libt2n-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|