- VS2012: build/tests

- JSON: style and exceptions catch by ref fix
- NumberParser: case-insensitive hex parsing
- Dynamic::Var: const std::string& cast operator specialization (coaxing std::string ctor)
- LocalDateTime: strftime fix (buffer too small for full tz string, use %Z instead of %z - makes no difference on windows but is more portable)
- small buildwin.cmd vsvars32.bat call fix
This commit is contained in:
Aleksandar Fabijanic
2012-09-24 03:51:40 +00:00
parent a6cc973fe3
commit d8397b9153
30 changed files with 3715 additions and 3739 deletions

View File

@@ -52,16 +52,16 @@ if "%1"=="" goto usage
set VS_VERSION=vs%1
if not defined VCINSTALLDIR (
if %1==71 (set VSENV="%VS71COMNTOOLS%vsvars32.bat") else (
if %1==80 (set VSENV="%VS80COMNTOOLS%vsvars32.bat") else (
if %1==90 (set VSENV="%VS90COMNTOOLS%vsvars32.bat") else (
if %1==100 (set VSENV="%VS100COMNTOOLS%vsvars32.bat")
if %1==71 (call "%VS71COMNTOOLS%vsvars32.bat") else (
if %1==80 (call "%VS80COMNTOOLS%vsvars32.bat") else (
if %1==90 (call "%VS90COMNTOOLS%vsvars32.bat") else (
if %1==100 (call "%VS100COMNTOOLS%vsvars32.bat")
))))
call %VSENV%
if not defined VSINSTALLDIR (
echo Error: No Visual C++ environment found.
echo Please run this script from a Visual Studio Command Prompt
echo or run "%%VSnnCOMNTOOLS%%\vcvars32.bat" first.
echo or run "%%VSnnCOMNTOOLS%%\vsvars32.bat" first.
goto :EOF
)
)