Module: kamailio Branch: master Commit: 05bb67d91c8c7ffc0b68513d46e1de5f68124800 URL: https://github.com/kamailio/kamailio/commit/05bb67d91c8c7ffc0b68513d46e1de5f...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/05bb67d91c8c7ffc0b68513d46e1de5f... Patch: https://github.com/kamailio/kamailio/commit/05bb67d91c8c7ffc0b68513d46e1de5f...
---
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