SODIUM_VERSION_STRING should be the package version even on Visual Studio

This commit is contained in:
Frank Denis 2014-09-29 22:27:15 -07:00
parent 1afb2e4105
commit b91baa687e
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#include "export.h"
#define SODIUM_VERSION_STRING "0.7.2"
#define SODIUM_VERSION_STRING "1.0.0"
#define SODIUM_LIBRARY_VERSION_MAJOR 7
#define SODIUM_LIBRARY_VERSION_MINOR 2

View File

@ -1,4 +1,4 @@
cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/0.7.2/ < src\libsodium\include\sodium\version.h.in > tmp
cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.0/ < src\libsodium\include\sodium\version.h.in > tmp
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/7/ < tmp > tmp2
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/2/ < tmp2 > src\libsodium\include\sodium\version.h
del tmp tmp2