You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
576 B
17 lines
576 B
# 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(shared_preferences_library VERSION 0.0.1 LANGUAGES C) |
|
|
|
add_library(shared_preferences SHARED |
|
"shared_preferences.c" |
|
) |
|
|
|
set_target_properties(shared_preferences PROPERTIES |
|
PUBLIC_HEADER shared_preferences.h |
|
OUTPUT_NAME "shared_preferences" |
|
) |
|
|
|
target_compile_definitions(shared_preferences PUBLIC DART_SHARED_LIB)
|
|
|