forked from bcosorg/bcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbundle_leveldb.bat
20 lines (16 loc) · 953 Bytes
/
bundle_leveldb.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
REM packaging leveldb
if not exist package\leveldb mkdir package\leveldb
if not exist package\leveldb\%PLATFORM% mkdir package\leveldb\%PLATFORM%
if not exist package\leveldb\%PLATFORM%lib\ mkdir package\leveldb\%PLATFORM%\lib
if not exist package\leveldb\%PLATFORM%\include mkdir package\leveldb\%PLATFORM%\include
cd package\leveldb\%PLATFORM%
if %PLATFORM% == Win32 (
if %CONFIGURATION% == Release cmake -E copy ..\..\..\build\leveldb\win\Release\LibLevelDB.lib lib\leveldb.lib
if %CONFIGURATION% == Debug cmake -E copy ..\..\..\build\leveldb\win\Debug\LibLevelDB.lib lib\leveldbd.lib
)
if %PLATFORM% == x64 (
if %CONFIGURATION% == Release cmake -E copy ..\..\..\build\leveldb\win\x64\Release\LevelDB64.lib lib\leveldb.lib
if %CONFIGURATION% == Debug cmake -E copy ..\..\..\build\leveldb\win\x64\Debug\LevelDB64.lib lib\leveldbd.lib
)
cmake -E copy_directory ..\..\..\build\leveldb\include include
cd ..\..\..