From 8807404bafcec13442517ebb9420ad2572bca9a8 Mon Sep 17 00:00:00 2001 From: "Oleg.Korshul" Date: Wed, 15 Mar 2023 12:37:59 +0500 Subject: [PATCH] Move ECMACryptFile to CryproPP library project --- Common/3dParty/cryptopp/project/cryptopp.pro | 10 ++++++++++ OOXML/Projects/Linux/BinDocument/BinDocument.pro | 2 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Common/3dParty/cryptopp/project/cryptopp.pro b/Common/3dParty/cryptopp/project/cryptopp.pro index 32be7cff5f..298823a521 100644 --- a/Common/3dParty/cryptopp/project/cryptopp.pro +++ b/Common/3dParty/cryptopp/project/cryptopp.pro @@ -327,3 +327,13 @@ SOURCES += \ ../zdeflate.cpp \ ../zinflate.cpp \ ../zlib.cpp + +# OfficeCryptReader +include($$CORE_ROOT_DIR/Common/3dParty/boost/boost.pri) +HEADERS += \ + $$CORE_ROOT_DIR/OfficeCryptReader/source/ECMACryptFile.h \ + $$CORE_ROOT_DIR/OfficeCryptReader/source/CryptTransform.h + +SOURCES += \ + $$CORE_ROOT_DIR/OfficeCryptReader/source/ECMACryptFile.cpp \ + $$CORE_ROOT_DIR/OfficeCryptReader/source/CryptTransform.cpp diff --git a/OOXML/Projects/Linux/BinDocument/BinDocument.pro b/OOXML/Projects/Linux/BinDocument/BinDocument.pro index cea7625a61..b2cbab4acb 100644 --- a/OOXML/Projects/Linux/BinDocument/BinDocument.pro +++ b/OOXML/Projects/Linux/BinDocument/BinDocument.pro @@ -44,8 +44,6 @@ SOURCES += \ ../../../Binary/Sheets/Reader/BinaryWriter.cpp \ ../../../Binary/Sheets/Writer/BinaryReader.cpp \ ../../../Binary/Sheets/Writer/CSVWriter.cpp \ - ../../../../OfficeCryptReader/source/ECMACryptFile.cpp \ - ../../../../OfficeCryptReader/source/CryptTransform.cpp \ ../../../Binary/Document/BinReader/ReaderClasses.cpp \ ../../../Binary/Document/BinReader/Readers.cpp \ ../../../Binary/Document/BinReader/CustomXmlWriter.cpp \