summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-08-29 12:18:55 -0400
committerKyleMiles <krm504@nyu.edu>2022-08-29 12:18:55 -0400
commit69f7caca76cf05cfd5d3e48c6cd950aed20d7f97 (patch)
tree3c2d3f21a9b117ce4fe118ee75ed8fe1035f5b35 /CMakeLists.txt
parentff9f329415aa7b9fac4a089d9b28a77228835adc (diff)
Add `cargo check` of API and all examples to CI
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 20f6dd38..f7deff70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,8 +5,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
option(BN_API_BUILD_EXAMPLES "Builds example plugins" OFF)
-set(CARGO_API_VERSION stable-2022-04-07)
-
if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
if (MSVC)
message(FATAL_ERROR "Binary Ninja is 64-bit only (try -G \"${CMAKE_GENERATOR} Win64\")")
@@ -87,7 +85,8 @@ function(bn_install_plugin target)
endif()
endfunction()
+add_subdirectory(rust)
+
if(BN_API_BUILD_EXAMPLES)
add_subdirectory(examples)
- add_subdirectory(rust/examples/basic_script)
endif()