From 1ca9e57c1423899798103f9eb05ec53f5cd02dcf Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Wed, 8 Nov 2017 23:02:19 +0100 Subject: added compilation option to enable or disable modulations to speed up the detection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I14bd40f9fcc4ca526da8d1d15e836f7f722fc9c7 Signed-off-by: Loïc Collignon --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index cb875ab..1511ac0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,8 +19,17 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.3) option(USE_LIBNFC "Enable or disable the 'libnfc' usage." ON) +option(LIBNFC_POLL_ALL "Enable all modulation when polling." OFF) +option(LIBNFC_POLL_NMT_ISO14443A "Enable ISO-14443A modulation when polling." ON) +option(LIBNFC_POLL_NMT_ISOJEWEL "Enable ISO-JEWEL modulation when polling." OFF) +option(LIBNFC_POLL_NMT_ISO14443B "Enable ISO-14443B modulation when polling." OFF) +option(LIBNFC_POLL_NMT_ISO14443BI "Enable ISO-14443BI modulation when polling." OFF) +option(LIBNFC_POLL_NMT_ISO14443B2SR "Enable ISO-14443B2SR modulation when polling." OFF) +option(LIBNFC_POLL_NMT_ISO14443B2CT "Enable ISO-14443B2CT modulation when polling." OFF) +option(LIBNFC_POLL_NMT_FELICA "Enable Felica modulation when polling." OFF) include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake) install(DIRECTORY htdocs/nfc DESTINATION htdocs) install(DIRECTORY etc DESTINATION ./) + -- cgit 1.2.3-korg