]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9897 [mod_v8] Fix Visual Studio 2015 build
authorAndrey Volk <andywolk@gmail.com>
Thu, 29 Dec 2016 20:42:33 +0000 (23:42 +0300)
committerAndrey Volk <andywolk@gmail.com>
Thu, 29 Dec 2016 20:42:33 +0000 (23:42 +0300)
libs/win32/Download V8.2015.vcxproj
libs/win32/v8/build-v8.bat

index 64ede7f2f7d93ddf90ef8425e8ab1360840af0a9..55f960d7516bd1de36e064330f815bf477d872b6 100644 (file)
     <CustomBuild Include="cleancount">\r
       <FileType>Document</FileType>\r
       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Downloading V8.</Message>\r
-      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">if not exist "$(ProjectDir)..\v8-$(V8Version)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/v8-$(V8Version).tar.bz2 "$(ProjectDir).."\r
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">if not exist "$(ProjectDir)..\v8-$(V8Version)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/v8-$(V8Version)-vs2015.tar.bz2 "$(ProjectDir).."\r
 if not exist "$(ProjectDir)..\v8-$(V8Version)\third_party\cygwin" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/v8-$(V8Version)-win.tar.bz2 "$(ProjectDir).."\r
 </Command>\r
       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)..\v8-$(V8Version);%(Outputs)</Outputs>\r
       <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Downloading V8.</Message>\r
-      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">if not exist "$(ProjectDir)..\v8-$(V8Version)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/v8-$(V8Version).tar.bz2 "$(ProjectDir).."\r
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">if not exist "$(ProjectDir)..\v8-$(V8Version)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/v8-$(V8Version)-vs2015.tar.bz2 "$(ProjectDir).."\r
 if not exist "$(ProjectDir)..\v8-$(V8Version)\third_party\cygwin" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/v8-$(V8Version)-win.tar.bz2 "$(ProjectDir).."\r
 </Command>\r
       <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)..\v8-$(V8Version);%(Outputs)</Outputs>\r
index 21b1af7db6239e24e950b6c6954eff903612ec4d..6f0077b2d2ed51c856227daaad68bbb48a9d92eb 100644 (file)
@@ -29,6 +29,9 @@ IF "%VisualStudioVersion%" == "11.0" (
 ) ELSE IF "%VisualStudioVersion%" == "12.0" (\r
        SET VS_VERSION=-Gmsvs_version=2013\r
        ECHO Forcing build to use Visual Studio 2013\r
+) ELSE IF "%VisualStudioVersion%" == "14.0" (\r
+       SET VS_VERSION=-Gmsvs_version=2015\r
+       ECHO Forcing build to use Visual Studio 2015\r
 ) ELSE IF NOT "%4" == "" (\r
        SET VS_VERSION=-Gmsvs_version=%4\r
        ECHO Forcing build to use Visual Studio %4\r