libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.5-30-g18bae9b

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 1 Sep 2023 18:10:57 +0200 (CEST)
The branch, master has been updated
       via  18bae9b40640804d0a35e9dca6787d6c34c66703 (commit)
      from  61a6bac98bbac623fb33b6153a063b6436f84721 (commit)


- Log -----------------------------------------------------------------
commit 18bae9b40640804d0a35e9dca6787d6c34c66703
Author: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
Date:   Thu Aug 31 09:23:30 2023 +0200

    CMake: rework documentation creation section
    
    Add comments and also make the if ( DOCUMENTATION ) section more
    readable.

-----------------------------------------------------------------------

Summary of changes:
 CMakeLists.txt |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d7f9b6..1745dc8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -137,11 +137,16 @@ if ( DOCUMENTATION )
     OUTPUT ${CMAKE_BINARY_DIR}/doc/html/index.html
     COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/doc
     COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
+    COMMENT "Generating API documentation"
     DEPENDS ${c_headers};${c_sources};${cpp_sources};${cpp_headers}
   )
 
-  add_custom_target(docs ALL DEPENDS ${CMAKE_BINARY_DIR}/doc/html/index.html)
-endif ()
+  add_custom_target(
+    docs ALL
+    COMMENT "Documentation target docs"
+    DEPENDS ${CMAKE_BINARY_DIR}/doc/html/index.html
+  )
+endif ( DOCUMENTATION )
 
 add_subdirectory(src)
 if ( FTDIPP )


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v1.5-30-g18bae9b, libftdi-git <=