serval-dna/libsodium/msvc-scripts/process.bat
Andrew Bettison fddd7b6640 Merge libsodium 1.0.14
git subtree pull --squash --prefix libsodium git@github.com:jedisct1/libsodium.git 1.0.14
2017-09-27 14:52:05 +09:30

6 lines
420 B
Batchfile
Executable File

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