From 69f7caca76cf05cfd5d3e48c6cd950aed20d7f97 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Mon, 29 Aug 2022 12:18:55 -0400 Subject: Add `cargo check` of API and all examples to CI --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') 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() -- cgit v1.3.1