diff --git a/scripts/windows/build_secp256k1.bat b/scripts/windows/build_secp256k1.bat index 9e7433032..bcabe1c7f 100644 --- a/scripts/windows/build_secp256k1.bat +++ b/scripts/windows/build_secp256k1.bat @@ -1,10 +1,10 @@ if not exist "build" mkdir "build" cd build -rem git clone https://github.com/bitcoin-core/secp256k1 +git clone https://github.com/bitcoin-core/secp256k1 cd secp256k1 -rem cmake -G "Visual Studio 17 2022" -A x64 -S . -B build +cmake -G "Visual Studio 17 2022" -A x64 -S . -B build cd build -rem cmake --build . +cmake --build . if not exist "..\..\..\..\build\" mkdir "..\..\..\..\build\" -xcopy src\Debug\libsecp256k1-2.dll "..\..\..\..\build\secp256k1.dll" /Y -cd ..\..\..\ +xcopy bin\Debug\libsecp256k1-2.dll "..\..\..\..\build\secp256k1.dll" /Y +cd ..\..\..\ \ No newline at end of file