Module: kamailio
Branch: master
Commit: 8a37acb07317d42dc3254ae5ed47573d9afa055d
URL: 
https://github.com/kamailio/kamailio/commit/8a37acb07317d42dc3254ae5ed47573d9afa055d

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@gilawa.com>
Date: 2024-12-13T10:48:59Z

cmake: Remove docs generation from default/all targets

---

Modified: src/modules/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/8a37acb07317d42dc3254ae5ed47573d9afa055d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8a37acb07317d42dc3254ae5ed47573d9afa055d.patch

---

diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt
index dd2787a3025..a99823c1ad2 100644
--- a/src/modules/CMakeLists.txt
+++ b/src/modules/CMakeLists.txt
@@ -130,11 +130,15 @@ add_module_group("${FINAL_MODULES_LIST}")
 
 # Add a kamailio_docs target that depends on all module documentation targets
 if(BUILD_DOC)
+  message(
+    STATUS
+      "Enabled documentation generation for: ${FINAL_MODULES_LIST}. To 
override, use '-DBUILD_DOC=OFF'"
+  )
   get_property(ALL_MODULE_DOC_TARGETS GLOBAL PROPERTY ALL_MODULE_DOC_TARGETS)
   # message(STATUS "ALL_MODULE_DOC_TARGETS: ${ALL_MODULE_DOC_TARGETS}")
 
   add_custom_target(
-    kamailio_docs ALL
+    kamailio_docs
     DEPENDS ${ALL_MODULE_DOC_TARGETS}
     COMMENT "Generating Kamailio documentation"
   )

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to