From 42878c46ace7ee6d267d26ee87b4d4015b4e4b2b Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Mon, 28 Jul 2025 19:45:56 -0700 Subject: [CMake] Specify CONFIGURE_DEPENDS for all file(GLOB ..) This ensures that CMake detects when files that match the glob are added or removed. --- examples/triage/CMakeLists.txt | 2 +- examples/uinotification/CMakeLists.txt | 2 +- examples/workflows/inliner/CMakeLists.txt | 2 +- examples/workflows/tailcall/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/triage/CMakeLists.txt b/examples/triage/CMakeLists.txt index 9e0e5363..d999c995 100644 --- a/examples/triage/CMakeLists.txt +++ b/examples/triage/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(triage CXX C) -file(GLOB SOURCES +file(GLOB SOURCES CONFIGURE_DEPENDS *.cpp *.h) diff --git a/examples/uinotification/CMakeLists.txt b/examples/uinotification/CMakeLists.txt index ea222734..33b23171 100644 --- a/examples/uinotification/CMakeLists.txt +++ b/examples/uinotification/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(uinotification CXX C) -file(GLOB SOURCES +file(GLOB SOURCES CONFIGURE_DEPENDS *.cpp *.h) diff --git a/examples/workflows/inliner/CMakeLists.txt b/examples/workflows/inliner/CMakeLists.txt index 7346260d..7729edd0 100644 --- a/examples/workflows/inliner/CMakeLists.txt +++ b/examples/workflows/inliner/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(workflow_inliner) -file(GLOB SOURCES +file(GLOB SOURCES CONFIGURE_DEPENDS *.cpp *.c *.h) diff --git a/examples/workflows/tailcall/CMakeLists.txt b/examples/workflows/tailcall/CMakeLists.txt index 26b21f17..9686d6f7 100644 --- a/examples/workflows/tailcall/CMakeLists.txt +++ b/examples/workflows/tailcall/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(workflow_tailcall) -file(GLOB SOURCES +file(GLOB SOURCES CONFIGURE_DEPENDS *.cpp *.c *.h) -- cgit v1.3.1