From f8ca56c3aa836b281e56290c6e51274c573ac142 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 6 Mar 2025 14:50:57 -0500 Subject: Make more GLOB_RECURSE statements GLOB I don't want to wait 10 seconds to glob for rust plugins! Someone should really go and rip out all these duplicate cmake files... --- plugins/dwarf/dwarf_export/CMakeLists.txt | 2 +- plugins/dwarf/dwarf_import/CMakeLists.txt | 2 +- plugins/svd/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/dwarf/dwarf_export/CMakeLists.txt b/plugins/dwarf/dwarf_export/CMakeLists.txt index 79a3d915..2e8f15d4 100644 --- a/plugins/dwarf/dwarf_export/CMakeLists.txt +++ b/plugins/dwarf/dwarf_export/CMakeLists.txt @@ -8,7 +8,7 @@ file(GLOB PLUGIN_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/../shared/Cargo.toml ${PROJECT_SOURCE_DIR}/../shared/src/*.rs) -file(GLOB_RECURSE API_SOURCES CONFIGURE_DEPENDS +file(GLOB API_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/../../../binaryninjacore.h ${PROJECT_SOURCE_DIR}/../../../rust/binaryninjacore-sys/build.rs ${PROJECT_SOURCE_DIR}/../../../rust/binaryninjacore-sys/Cargo.toml diff --git a/plugins/dwarf/dwarf_import/CMakeLists.txt b/plugins/dwarf/dwarf_import/CMakeLists.txt index 44f0659f..0126a7a8 100644 --- a/plugins/dwarf/dwarf_import/CMakeLists.txt +++ b/plugins/dwarf/dwarf_import/CMakeLists.txt @@ -8,7 +8,7 @@ file(GLOB PLUGIN_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/../shared/Cargo.toml ${PROJECT_SOURCE_DIR}/../shared/src/*.rs) -file(GLOB_RECURSE API_SOURCES CONFIGURE_DEPENDS +file(GLOB API_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/../../../binaryninjacore.h ${PROJECT_SOURCE_DIR}/../../../rust/binaryninjacore-sys/build.rs ${PROJECT_SOURCE_DIR}/../../../rust/binaryninjacore-sys/Cargo.toml diff --git a/plugins/svd/CMakeLists.txt b/plugins/svd/CMakeLists.txt index 610d294e..0a27c16f 100644 --- a/plugins/svd/CMakeLists.txt +++ b/plugins/svd/CMakeLists.txt @@ -52,7 +52,7 @@ set(BINJA_LIB_DIR ${BN_INSTALL_BIN_DIR}) set_property(TARGET ${PROJECT_NAME} PROPERTY OUTPUT_FILE_PATH ${OUTPUT_FILE_PATH}) # Add the whole api to the depends too -file(GLOB_RECURSE API_SOURCES CONFIGURE_DEPENDS +file(GLOB API_SOURCES CONFIGURE_DEPENDS ${BN_API_SOURCE_DIR}/binaryninjacore.h ${BN_API_SOURCE_DIR}/rust/src/*.rs ${BN_API_SOURCE_DIR}/rust/binaryninjacore-sys/src/*.rs) -- cgit v1.3.1