forked from bcosorg/bcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bundle_cryptopp.bat
23 lines (17 loc) · 1.06 KB
/
bundle_cryptopp.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
REM packaging cryptopp
if not exist package\cryptopp mkdir package\cryptopp
if not exist package\cryptopp\%PLATFORM% mkdir package\cryptopp\%PLATFORM%
if not exist package\cryptopp\%PLATFORM%\lib mkdir package\cryptopp\%PLATFORM%\lib
if not exist package\cryptopp\%PLATFORM%\include mkdir package\cryptopp\%PLATFORM%\include
if not exist package\cryptopp\%PLATFORM%\include\cryptopp mkdir package\cryptopp\%PLATFORM%\include\cryptopp
cd package\cryptopp\%PLATFORM%
if %PLATFORM% == Win32 (
if %CONFIGURATION% == Release cmake -E copy ..\..\..\build\cryptopp\win\Release\LibCryptoPP.lib lib\cryptopp.lib
if %CONFIGURATION% == Debug cmake -E copy ..\..\..\build\cryptopp\win\Debug\LibCryptoPP.lib lib\cryptoppd.lib
)
if %PLATFORM% == x64 (
if %CONFIGURATION% == Release cmake -E copy ..\..\..\build\cryptopp\win\x64\Release\LibCryptoPP.lib lib\cryptopp.lib
if %CONFIGURATION% == Debug cmake -E copy ..\..\..\build\cryptopp\win\x64\Debug\LibCryptoPP.lib lib\cryptoppd.lib
)
xcopy ..\..\..\build\cryptopp\*.h include\cryptopp /sy
cd ..\..\..