# The Flutter tooling requires that developers have a version of Visual Studio
# installed that includes CMake 3.14 or later. You should not increase this
# version, as doing so will cause the plugin to fail to compile for some
# customers of the plugin.
cmake_minimum_required(VERSION 3.14)

# Project-level configuration.
set(PROJECT_NAME "rust_lib_ndk")
project(${PROJECT_NAME} LANGUAGES CXX)

include("../cargokit/cmake/cargokit.cmake")

### default - as package
#apply_cargokit(${PROJECT_NAME} ../../../../../../rust rust_lib_ndk "")

### if dart_ndk is next to the app folder 
#apply_cargokit(${PROJECT_NAME} ../../rust rust_lib_ndk "test")

### rust in rust_builder
apply_cargokit(${PROJECT_NAME} ../rust rust_lib_ndk rust_lib_ndk "test")




# List of absolute paths to libraries that should be bundled with the plugin.
# This list could contain prebuilt libraries, or libraries created by an
# external build triggered from this build file.
set(rust_lib_ndk_bundled_libraries
  "${${PROJECT_NAME}_cargokit_lib}"
  PARENT_SCOPE
)
