Flutter plugin for scanning and generating QR codes using the ZXing library, supporting Android, iOS, and desktop platforms
flutterbarcode-generatorbarcode-scannergeneratorqrqrcodeqrcode-generatorqrcode-scannerscannerzxingbarcodezxscanner
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.
23 lines
955 B
23 lines
955 B
2 years ago
|
# 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-level configuration.
|
||
|
set(PROJECT_NAME "flutter_zxing")
|
||
|
project(${PROJECT_NAME} LANGUAGES CXX)
|
||
|
|
||
|
# Invoke the build for native code shared with the other target platforms.
|
||
|
# This can be changed to accomodate different builds.
|
||
|
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../src" "${CMAKE_CURRENT_BINARY_DIR}/shared")
|
||
|
|
||
|
# 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(flutter_zxing_bundled_libraries
|
||
|
# Defined in ../src/CMakeLists.txt.
|
||
|
# This can be changed to accomodate different builds.
|
||
|
$<TARGET_FILE:flutter_zxing>
|
||
|
PARENT_SCOPE
|
||
|
)
|