From 4870c90e6fbf31898c57db04f97c69f647157fd5 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Fri, 26 Sep 2025 13:49:38 -0400 Subject: Allow generating and linking to stubs from cmake --- rust/binaryninjacore-sys/build.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust') diff --git a/rust/binaryninjacore-sys/build.rs b/rust/binaryninjacore-sys/build.rs index 672615da..9a83b5d0 100644 --- a/rust/binaryninjacore-sys/build.rs +++ b/rust/binaryninjacore-sys/build.rs @@ -51,6 +51,8 @@ fn generate_stubs() -> PathBuf { .unwrap(); let stubs_path = api_base_path.join("stubs"); + + // TODO: does visual studio add the config name as a subdirectory? cmake::Config::new(stubs_path) .generator("Ninja") .build() -- cgit v1.3.1