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/warp/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/warp') diff --git a/plugins/warp/CMakeLists.txt b/plugins/warp/CMakeLists.txt index 165740c9..f529df14 100644 --- a/plugins/warp/CMakeLists.txt +++ b/plugins/warp/CMakeLists.txt @@ -52,10 +52,9 @@ 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) + ${BN_API_SOURCE_DIR}/rust/src/*/*.rs) find_program(RUSTUP_PATH rustup REQUIRED HINTS ~/.cargo/bin) set(RUSTUP_COMMAND ${RUSTUP_PATH} run ${CARGO_STABLE_VERSION} cargo) -- cgit v1.3.1