Files
cefsharp/CefSharp.props
T
amaitland 05f0fa025a VS2017 Build with PlatformToolset v141
VC++2017(v141) is compatible with VC++2015(v140), which enables us to use the v141 toolset to compile against the
v140 libcef_dll_wrapper.lib - not necessary to install the VC++2015 compiler as part of a clean VS2017 install

Follow up to #2179
2017-12-20 10:21:08 +10:00

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'">2015</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>