From 32f083596261706879bf8628c1827b5da84450e3 Mon Sep 17 00:00:00 2001 From: ElenaSubbotina Date: Thu, 4 Aug 2016 14:55:26 +0300 Subject: [PATCH] crypto++ build in destin. sdk path --- .../{projects => project}/cryptopp.pro | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) rename Common/3dParty/cryptopp/{projects => project}/cryptopp.pro (86%) diff --git a/Common/3dParty/cryptopp/projects/cryptopp.pro b/Common/3dParty/cryptopp/project/cryptopp.pro similarity index 86% rename from Common/3dParty/cryptopp/projects/cryptopp.pro rename to Common/3dParty/cryptopp/project/cryptopp.pro index 71dd48743e..db4692de62 100644 --- a/Common/3dParty/cryptopp/projects/cryptopp.pro +++ b/Common/3dParty/cryptopp/project/cryptopp.pro @@ -12,6 +12,38 @@ CONFIG += staticlib DEFINES += CRYPTOPPLIB_LIBRARY +############### destination path ############### +DESTINATION_SDK_PATH = $$PWD/../../../../build/lib + +# WINDOWS +win32:contains(QMAKE_TARGET.arch, x86_64):{ +CONFIG(debug, debug|release) { + DESTDIR = $$DESTINATION_SDK_PATH/win_64/DEBUG +} else { + DESTDIR = $$DESTINATION_SDK_PATH/win_64 +} +} +win32:!contains(QMAKE_TARGET.arch, x86_64):{ +CONFIG(debug, debug|release) { + DESTDIR = $$DESTINATION_SDK_PATH/win_32/DEBUG +} else { + DESTDIR = $$DESTINATION_SDK_PATH/win_32 +} +} + +linux-g++ | linux-g++-64 | linux-g++-32:contains(QMAKE_HOST.arch, x86_64):{ + DESTDIR = $$DESTINATION_SDK_PATH/linux_64 +} +linux-g++ | linux-g++-64 | linux-g++-32:!contains(QMAKE_HOST.arch, x86_64):{ + DESTDIR = $$DESTINATION_SDK_PATH/linux_32 +} + +mac { + DESTDIR = $$DESTINATION_SDK_PATH/mac_64 +} +############### destination path ############### + + HEADERS += \ ../3way.h \ ../adler32.h \