# The Flutter tooling requires that developers have CMake 3.10 or later
# installed. 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.10)

project(ffi_template_library VERSION 0.4.0 LANGUAGES C)

add_library(ffi_template SHARED
  "ffi_template.c"
)

set_target_properties(ffi_template PROPERTIES
  PUBLIC_HEADER ffi_template.h
  OUTPUT_NAME "ffi_template"
)

target_compile_definitions(ffi_template PUBLIC DART_SHARED_LIB)
