chatgui: add CONFIGURE_DEPENDS to libutun globs — pickup new .c files without clean rebuild
This commit is contained in:
1 parent
a64eac7ae5
commit
18fef22bcc
1 file changed
+2
-2
@@ -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/")
|
||||
|
||||
Reference in new issue
Block a user