From df8f369847ed4d4bd94a4c358867a4c01287f0af Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 17 Feb 2025 20:30:51 -0500 Subject: Fix some misc Rust CMakeLists.txt issues GLOB_RECURSE has been cut down a little bit to make configuring times reasonable --- plugins/idb_import/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/idb_import') diff --git a/plugins/idb_import/CMakeLists.txt b/plugins/idb_import/CMakeLists.txt index 6a6104d9..4cd52784 100644 --- a/plugins/idb_import/CMakeLists.txt +++ b/plugins/idb_import/CMakeLists.txt @@ -6,13 +6,13 @@ file(GLOB_RECURSE PLUGIN_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/Cargo.toml ${PROJECT_SOURCE_DIR}/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 ${PROJECT_SOURCE_DIR}/../../rust/binaryninjacore-sys/src/* ${PROJECT_SOURCE_DIR}/../../rust/Cargo.toml - ${PROJECT_SOURCE_DIR}/../../rust/src/*.rs) + ${PROJECT_SOURCE_DIR}/../../rust/src/*/*.rs) if(CMAKE_BUILD_TYPE MATCHES Debug) set(TARGET_DIR ${PROJECT_BINARY_DIR}/target/debug) -- cgit v1.3.1