summaryrefslogtreecommitdiff
path: root/platform
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 /platform
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 'platform')
-rw-r--r--platform/decree/CMakeLists.txt2
-rw-r--r--platform/efi/CMakeLists.txt2
-rw-r--r--platform/freebsd/CMakeLists.txt2
-rw-r--r--platform/linux/CMakeLists.txt2
-rw-r--r--platform/mac-kernel/CMakeLists.txt2
-rw-r--r--platform/mac/CMakeLists.txt2
-rw-r--r--platform/windows-kernel/CMakeLists.txt2
-rw-r--r--platform/windows/CMakeLists.txt2
8 files changed, 8 insertions, 8 deletions
diff --git a/platform/decree/CMakeLists.txt b/platform/decree/CMakeLists.txt
index 13a02af8..59bb259f 100644
--- a/platform/decree/CMakeLists.txt
+++ b/platform/decree/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/*.cpp
${PROJECT_SOURCE_DIR}/*.h)
diff --git a/platform/efi/CMakeLists.txt b/platform/efi/CMakeLists.txt
index 6ad3d5bc..f85aad59 100644
--- a/platform/efi/CMakeLists.txt
+++ b/platform/efi/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
*.cpp
*.h)
diff --git a/platform/freebsd/CMakeLists.txt b/platform/freebsd/CMakeLists.txt
index e5d0aa2a..067c3add 100644
--- a/platform/freebsd/CMakeLists.txt
+++ b/platform/freebsd/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/*.cpp
${PROJECT_SOURCE_DIR}/*.h)
diff --git a/platform/linux/CMakeLists.txt b/platform/linux/CMakeLists.txt
index 5bf30969..0c576fce 100644
--- a/platform/linux/CMakeLists.txt
+++ b/platform/linux/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/*.cpp
${PROJECT_SOURCE_DIR}/*.h)
diff --git a/platform/mac-kernel/CMakeLists.txt b/platform/mac-kernel/CMakeLists.txt
index b3d22eb4..216d2f2c 100644
--- a/platform/mac-kernel/CMakeLists.txt
+++ b/platform/mac-kernel/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/*.cpp
${PROJECT_SOURCE_DIR}/*.h)
diff --git a/platform/mac/CMakeLists.txt b/platform/mac/CMakeLists.txt
index 7dd918c7..cf7968f8 100644
--- a/platform/mac/CMakeLists.txt
+++ b/platform/mac/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/*.cpp
${PROJECT_SOURCE_DIR}/*.h)
diff --git a/platform/windows-kernel/CMakeLists.txt b/platform/windows-kernel/CMakeLists.txt
index 3e3e83d4..b7db8f49 100644
--- a/platform/windows-kernel/CMakeLists.txt
+++ b/platform/windows-kernel/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
*.cpp
*.h)
diff --git a/platform/windows/CMakeLists.txt b/platform/windows/CMakeLists.txt
index 81cbdd1c..595740f4 100644
--- a/platform/windows/CMakeLists.txt
+++ b/platform/windows/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
*.cpp
*.h)