Module: kamailio
Branch: master
Commit: 05bb67d91c8c7ffc0b68513d46e1de5f68124800
URL: 
https://github.com/kamailio/kamailio/commit/05bb67d91c8c7ffc0b68513d46e1de5f68124800

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-12-18T11:51:53+01:00

core/CMakeLists.txt: remove lex.yy.c and cfg.tab.c from glob sources

- they might be generated by other tools for debugging or, for now, the old
makefiles while analysing differences with cmake

---

Modified: src/core/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/05bb67d91c8c7ffc0b68513d46e1de5f68124800.diff
Patch: 
https://github.com/kamailio/kamailio/commit/05bb67d91c8c7ffc0b68513d46e1de5f68124800.patch

---

diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index cbda772884a..750af9b7b1b 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -50,6 +50,8 @@ add_custom_target(
 # -----------------------
 
 file(GLOB_RECURSE kamailio_SRC "*.c")
+list(REMOVE_ITEM kamailio_SRC ${CMAKE_CURRENT_SOURCE_DIR}/cfg.tab.c
+    ${CMAKE_CURRENT_SOURCE_DIR}/lex.yy.c)
 set(kamailio_SRC_FILES
     ${kamailio_SRC}
     PARENT_SCOPE

_______________________________________________
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