summaryrefslogtreecommitdiff
path: root/rust/CMakeLists.txt
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-16 16:13:35 -0400
committerMason Reed <mason@vector35.com>2025-07-17 06:20:20 -0400
commitec2d4e2f5c8efbc0985f27f2dc924eb388cfb243 (patch)
tree06d46de6106385406522380e3bbd1f064490e8ec /rust/CMakeLists.txt
parent38ff3609c4e2b655c069c0f5c2a7fe1f24d67824 (diff)
[Rust] Misc fixes / formatting
- Fix cmake clean not cleaning target docs - Fix not prioritizing enterprise remote in collab tests - Some misc formatting - Fix incorrect assert in binary loading
Diffstat (limited to 'rust/CMakeLists.txt')
-rw-r--r--rust/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/CMakeLists.txt b/rust/CMakeLists.txt
index 3e2dc32f..4bc8f9ad 100644
--- a/rust/CMakeLists.txt
+++ b/rust/CMakeLists.txt
@@ -35,6 +35,7 @@ add_dependencies(rust_api binaryninjaapi)
add_custom_target(rust_docs ALL DEPENDS ${PROJECT_BINARY_DIR}/target/doc)
add_dependencies(rust_docs binaryninjaapi rust_api)
+set_property(TARGET rust_docs APPEND PROPERTY ADDITIONAL_CLEAN_FILES ${PROJECT_BINARY_DIR}/target/doc)
# Get API source directory so we can find BinaryNinjaCore
get_target_property(BN_API_SOURCE_DIR binaryninjaapi SOURCE_DIR)