Module: kamailio
Branch: master
Commit: 8a37acb07317d42dc3254ae5ed47573d9afa055d
URL:
https://github.com/kamailio/kamailio/commit/8a37acb07317d42dc3254ae5ed47573…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)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/8a37acb07317d42dc3254ae5ed47573…
Patch:
https://github.com/kamailio/kamailio/commit/8a37acb07317d42dc3254ae5ed47573…
---
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"
)