-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8628dfc
commit d95bd37
Showing
3 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 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(zstandard_macos_library VERSION 0.0.1 LANGUAGES C) | ||
|
||
# Encuentra los archivos C de Zstd | ||
file(GLOB ZSTD_SRC | ||
"../../common/*.c" | ||
"../../compress/*.c" | ||
"../../decompress/*.c" | ||
) | ||
|
||
# Agrega el ejecutable para el plugin | ||
add_library(zstandard_macos SHARED | ||
# "Classes/plugin_code.cpp" | ||
${ZSTD_SRC} | ||
) | ||
|
||
target_include_directories(zstandard_macos PUBLIC | ||
"${CMAKE_CURRENT_SOURCE_DIR}" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/common" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/compress" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/decompress" | ||
) | ||
|
||
set_target_properties(zstandard_macos PROPERTIES | ||
PUBLIC_HEADER zstandard_macos.h | ||
OUTPUT_NAME "zstandard_macos" | ||
) | ||
|
||
target_compile_definitions(zstandard_macos PUBLIC DART_SHARED_LIB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.