From c7b9702c88e0bf30b60f68d4da0b63f4b5c64353 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sun, 16 Aug 2026 10:09:26 +0300 Subject: [PATCH] =?UTF-8?q?chatgui:=20add=20CONFIGURE=5FDEPENDS=20to=20lib?= =?UTF-8?q?utun=20globs=20=E2=80=94=20pickup=20new=20.c=20files=20without?= =?UTF-8?q?=20clean=20rebuild?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/chatgui/libutun/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/chatgui/libutun/CMakeLists.txt b/tools/chatgui/libutun/CMakeLists.txt index 6bdcbd0d..fc270c95 100644 --- a/tools/chatgui/libutun/CMakeLists.txt +++ b/tools/chatgui/libutun/CMakeLists.txt @@ -8,7 +8,7 @@ set(TRANSPORT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../transport) # libuasync — low-level runtime library # ============================================================================ -file(GLOB UASYNC_SOURCES "${LIB_DIR}/*.c") +file(GLOB UASYNC_SOURCES CONFIGURE_DEPENDS "${LIB_DIR}/*.c") set(UASYNC_LMDB_SOURCES "${LIB_DIR}/liblmdb/mdb.c" "${LIB_DIR}/liblmdb/midl.c" @@ -44,7 +44,7 @@ set_target_properties(uasync PROPERTIES # ============================================================================ # Common sources (all platforms) — all .c from src/ except main entry point and ref/ dirs -file(GLOB_RECURSE UTUN_COMMON_SOURCES "${SRC_DIR}/*.c") +file(GLOB_RECURSE UTUN_COMMON_SOURCES CONFIGURE_DEPENDS "${SRC_DIR}/*.c") list(FILTER UTUN_COMMON_SOURCES EXCLUDE REGEX "/lwip_orig/") list(FILTER UTUN_COMMON_SOURCES EXCLUDE REGEX "/uip/") list(FILTER UTUN_COMMON_SOURCES EXCLUDE REGEX "/transport_layer/BBR/")