From 6c5f779dfd4dd5a91678351127acde132f817faf Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 28 Jul 2020 13:10:59 +0200 Subject: Extract PWS features to separate unit Signed-off-by: Szczepan Zalega --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e0bcb1..c795e22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,6 +77,8 @@ set(SOURCE_FILES NitrokeyManagerStorage.h NitrokeyManagerOTP.cc NitrokeyManagerOTP.h + NitrokeyManagerPWS.h + NitrokeyManagerPWS.cc NK_C_API.h NK_C_API.cc NK_C_API_helpers.h @@ -86,6 +88,7 @@ set(SOURCE_FILES set(SOURCE_FILES_storage ${COMMON_FILES} + NitrokeyManager.cc NitrokeyManagerStorage.cpp NitrokeyManagerStorage.h NK_C_API_helpers.h @@ -140,6 +143,7 @@ endif() OPTION(NO_LOG "Compile without logging functionality and its strings (decreases size)" OFF) IF (NO_LOG) SET_TARGET_PROPERTIES(nitrokey PROPERTIES COMPILE_DEFINITIONS "NO_LOG") + SET_TARGET_PROPERTIES(nitrokey-storage PROPERTIES COMPILE_DEFINITIONS "NO_LOG") ENDIF() OPTION(LOG_VOLATILE_DATA "Log volatile data (debug)" OFF) -- cgit v1.2.1