stack_wallet/scripts/windows/build_secp256k1.bat
2024-10-22 18:54:54 -05:00

10 lines
No EOL
333 B
Batchfile

if not exist "build" mkdir "build"
cd build
git clone https://github.com/bitcoin-core/secp256k1
cd secp256k1
cmake -G "Visual Studio 17 2022" -A x64 -S . -B build
cd build
cmake --build .
if not exist "..\..\..\..\build\" mkdir "..\..\..\..\build\"
xcopy bin\Debug\libsecp256k1-2.dll "..\..\..\..\build\secp256k1.dll" /Y
cd ..\..\..\