-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
REM clone cryptopp | ||
if not exist build\cryptopp git clone -q https://github.com/debris/cryptopp build\cryptopp | ||
cd build\cryptopp\win | ||
git checkout -qf 5e1491aed4264cbb847ef493cd0e6cfff7f052bb | ||
|
||
REM build cryptopp | ||
%MSBuild% LibLevelDB.sln /property:Configuration=%CONFIGURATION% /property:Platform=%PLATFORM% /verbosity:minimal | ||
|
||
REM cryptopp built | ||
cd ..\..\.. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
REM packaging cryptopp | ||
if not exist package\cryptopp mkdir package\cryptopp | ||
if not exist package\cryptopp\lib mkdir package\cryptopp\lib | ||
if not exist package\cryptopp\include mkdir package\cryptopp\include | ||
|
||
cd package\cryptopp | ||
|
||
if %PLATFORM% == Win32 ( | ||
if %CONFIGURATION% == Release cmake -E copy ..\..\build\cryptopp\win\Release\LibCryptopPP.lib lib\cryptopp.lib | ||
if %CONFIGURATION% == Debug cmake -E copy ..\..\build\cryptopp\win\Debug\LibCryptopPP.lib lib\cryptoppd.lib | ||
) | ||
|
||
if %PLATFORM% == x64 ( | ||
if %CONFIGURATION% == Release cmake -E copy ..\..\build\cryptopp\win\x64\Release\LibCryptopPP.lib lib\cryptopp_x64.lib | ||
if %CONFIGURATION% == Debug cmake -E copy ..\..\build\cryptopp\win\x64\Debug\LibCryptopPP.lib lib\cryptoppd_x64.lib | ||
) | ||
|
||
cmake -E copy_directory ..\..\build\cryptopp\include include | ||
cd ..\.. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
REM installing cryptopp | ||
cmake -E copy_directory package\cryptopp install | ||
|
||
REM zipping cryptopp | ||
cd package | ||
if exist cryptopp-5.6.2 cmake -E remove_directory cryptopp-5.6.2 | ||
cmake -E rename cryptopp cryptopp-5.6.2 | ||
tar -zcvf cryptopp-5.6.2.tar.gz cryptopp-5.6.2 | ||
cd .. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters