mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
a38df4a268
Builds are now done using VS2015 which will require VC++ 2015 (or VC++ 2017 as they are compatible) Remove VS2013 target from build.ps1
39 lines
1.5 KiB
XML
39 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup>
|
|
<VisualStudioProductVersion>2013</VisualStudioProductVersion>
|
|
<VisualStudioProductVersion Condition="'$(VisualStudioVersion)'=='14.0'">2015</VisualStudioProductVersion>
|
|
<VisualStudioProductVersion Condition="'$(VisualStudioVersion)'=='15.0'">2017</VisualStudioProductVersion>
|
|
|
|
<PlatformToolset>v120</PlatformToolset>
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)'=='14.0'">v140</PlatformToolset>
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)'=='15.0'">v141</PlatformToolset>
|
|
|
|
<CefSharpBrowserSubprocessPostBuildEvent>
|
|
<![CDATA[
|
|
if $(PlatformName) == x86 (
|
|
"$(DevEnvDir)..\..\VC\bin\editbin" /largeaddressaware /TSAWARE "$(TargetPath)"
|
|
call "$(DevEnvDir)..\Tools\vsvars32.bat"
|
|
sn -R "$(TargetPath)" "$(ProjectDir)..\CefSharp.snk"
|
|
) else (
|
|
"$(DevEnvDir)..\..\VC\bin\amd64\editbin" /TSAWARE "$(TargetPath)"
|
|
)
|
|
]]></CefSharpBrowserSubprocessPostBuildEvent>
|
|
|
|
<CefSharpBrowserSubprocessPostBuildEvent Condition="'$(VisualStudioVersion)'=='15.0'">
|
|
<![CDATA[
|
|
if $(PlatformName) == x86 (
|
|
call "$(DevEnvDir)..\..\VC\Auxiliary\Build\vcvars32.bat"
|
|
editbin /largeaddressaware /TSAWARE "$(TargetPath)"
|
|
sn -R "$(TargetPath)" "$(ProjectDir)..\CefSharp.snk"
|
|
) else (
|
|
call "$(DevEnvDir)..\..\VC\Auxiliary\Build\vcvars64.bat"
|
|
editbin /TSAWARE "$(TargetPath)"
|
|
)
|
|
]]>
|
|
</CefSharpBrowserSubprocessPostBuildEvent>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|