Flutter plugin for scanning and generating QR codes using the ZXing library, supporting Android, iOS, and desktop platforms
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.
 
 
 
 
 
 

22 lines
407 B

cmake_minimum_required(VERSION 3.10)
project(flutter_zxing LANGUAGES C CXX)
add_library(
flutter_zxing
SHARED
common.cpp
native_zxing.cpp
)
set (BUILD_WRITERS ON)
add_subdirectory(zxing/core)
target_link_libraries(flutter_zxing ZXing)
# use log-lib only for android platform
if (ANDROID)
find_library(log-lib log)
target_link_libraries(flutter_zxing ${log-lib})
endif (ANDROID)