libsodium/msvc-scripts/process.bat
Frank Denis ad0e68cff7 Bump
2023-09-13 09:00:05 +02:00

6 lines
421 B
Batchfile
Executable File

cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.19/ < src\libsodium\include\sodium\version.h.in > tmp
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/10/ < tmp > tmp2
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/4/ < tmp2 > tmp3
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_MINIMAL_DEF@// < tmp3 > src\libsodium\include\sodium\version.h
del tmp tmp2 tmp3