summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-07-28 19:45:56 -0700
committerMark Rowe <mark@vector35.com>2025-07-30 16:48:38 -0700
commit42878c46ace7ee6d267d26ee87b4d4015b4e4b2b (patch)
tree398ff19da9c4bae81f5c8c87ad15592269a1cc06 /examples
parent3e9f6433c838cad88f0d97b3ac9f2aa402b83720 (diff)
[CMake] Specify CONFIGURE_DEPENDS for all file(GLOB ..)
This ensures that CMake detects when files that match the glob are added or removed.
Diffstat (limited to 'examples')
-rw-r--r--examples/triage/CMakeLists.txt2
-rw-r--r--examples/uinotification/CMakeLists.txt2
-rw-r--r--examples/workflows/inliner/CMakeLists.txt2
-rw-r--r--examples/workflows/tailcall/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
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)