summaryrefslogtreecommitdiff
path: root/rust/binaryninjacore-sys
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-09-26 13:49:38 -0400
committerJosh Ferrell <josh@vector35.com>2025-09-29 14:42:30 -0400
commit4870c90e6fbf31898c57db04f97c69f647157fd5 (patch)
tree463f7097173c500b055219caffbbdbbd673f23c1 /rust/binaryninjacore-sys
parentdf599006c0a805dda992910722ac69a9adf794fc (diff)
Allow generating and linking to stubs from cmake
Diffstat (limited to 'rust/binaryninjacore-sys')
-rw-r--r--rust/binaryninjacore-sys/build.rs2
1 files changed, 2 insertions, 0 deletions
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()