Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6efc61d431
Fetching contributors…

Cannot retrieve contributors at this time

210 lines (154 sloc) 10.472 kb
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(VCTargetsPath)\Platforms\Clang\ImportBefore\*.targets" Condition="Exists('$(VCTargetsPath)\Platforms\Clang\ImportBefore')" />
<Import Project="$(VCTargetsPath)\Microsoft.CppCommon.targets" />
<UsingTask TaskName="GCCCompile" AssemblyFile="$(VCTargetsPath)\Platforms\Emscripten\vs-android.Build.CPPTasks.Android.dll" />
<UsingTask TaskName="GCCLink" AssemblyFile="$(VCTargetsPath)\Platforms\Emscripten\vs-android.Build.CPPTasks.Android.dll" />
<UsingTask TaskName="GCCLib" AssemblyFile="$(VCTargetsPath)\Platforms\Emscripten\vs-android.Build.CPPTasks.Android.dll" />
<UsingTask TaskName="VCMessage" AssemblyName="Microsoft.Build.CppTasks.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<PropertyGroup>
<TrackFileAccess Condition="'$(TrackFileAccess)' == ''">true</TrackFileAccess>
</PropertyGroup>
<!-- *******************************************************************************************
CLCompile
******************************************************************************************* -->
<Target Name="ClCompile" Condition="'@(ClCompile)' != ''" DependsOnTargets="SelectClCompile">
<ItemGroup>
<ClCompile>
<CompileAs Condition="('%(ClCompile.CompileAs)' == 'Default' and '%(ClCompile.Extension)' == '.c')">CompileAsC</CompileAs>
<CompileAs Condition="('%(ClCompile.CompileAs)' == 'Default' and '%(ClCompile.Extension)' == '.s')">CompileAsAsm</CompileAs>
<CompileAs Condition="('%(ClCompile.CompileAs)' == 'Default' and '%(ClCompile.Extension)' == '.asm')">CompileAsAsm</CompileAs>
<CompileAs Condition="('%(ClCompile.CompileAs)' == 'Default' and ('%(ClCompile.Extension)' != '.c' and '%(ClCompile.Extension)' != '.s' and '%(ClCompile.Extension)' != '.asm'))">CompileAsCpp</CompileAs>
<MinimalRebuildFromTracking Condition="'$(BuildType)' != 'Build' or '$(ForceRebuild)' == 'true'">false</MinimalRebuildFromTracking>
</ClCompile>
</ItemGroup>
<GCCCompile Condition="'%(ClCompile.ExcludedFromBuild)'!='true'"
BuildingInIDE ="$(BuildingInsideVisualStudio)"
Sources ="@(ClCompile)"
TrackerLogDirectory ="%(ClCompile.TrackerLogDirectory)"
TLogReadFiles ="@(CLTLogReadFiles)"
TLogWriteFiles ="@(CLTLogWriteFiles)"
ToolExe ="$(CLToolExe)"
ToolPath ="$(CLToolPath)"
TrackFileAccess ="$(TrackFileAccess)"
MinimalRebuildFromTracking ="%(ClCompile.MinimalRebuildFromTracking)"
AcceptableNonZeroExitCodes ="%(ClCompile.AcceptableNonZeroExitCodes)"
GCCToolPath ="$(GccCompiler)"
GenerateDependencyFile ="false"
EchoCommandLines ="%(ClCompile.EchoCommandLines)"
PropertyXmlFile ="$(VCTargetsPath)\Platforms\Clang\Props\clang_compile.xml"
>
</GCCCompile>
</Target>
<!-- *******************************************************************************************
Lib
******************************************************************************************* -->
<Target Name="Lib"
Condition="'@(Lib)' != ''">
<ItemGroup>
<Lib>
<MinimalRebuildFromTracking Condition="'%(Lib.MinimalRebuildFromTracking)' == '' and '$(BuildType)' == 'Build' and '$(ForceRebuild)' != 'true'">true</MinimalRebuildFromTracking>
</Lib>
</ItemGroup>
<GCCLib Condition="'$(PlatformToolset)' != 'emcc'
" BuildingInIDE ="$(BuildingInsideVisualStudio)"
Sources ="@(Lib)"
OutputFile ="%(Lib.OutputFile)"
TrackerLogDirectory ="%(Lib.TrackerLogDirectory)"
TLogReadFiles ="@(LIBTLogReadFiles)"
TLogWriteFiles ="@(LIBTLogWriteFiles)"
ToolExe ="$(LIBToolExe)"
ToolPath ="$(LIBToolPath)"
TrackFileAccess ="$(TrackFileAccess)"
MinimalRebuildFromTracking ="%(Lib.MinimalRebuildFromTracking)"
AcceptableNonZeroExitCodes ="%(Lib.AcceptableNonZeroExitCodes)"
UseClangSyntax ="false"
EchoCommandLines ="%(Lib.EchoCommandLines)"
GCCToolPath ="$(GccLibrarian)"
PropertyXmlFile ="$(VCTargetsPath)\Platforms\Clang\Props\mingw_lib.xml"
>
<Output TaskParameter="SkippedExecution" PropertyName="LibSkippedExecution" />
</GCCLib>
<GCCLib Condition="'$(PlatformToolset)' == 'emcc'
" BuildingInIDE ="$(BuildingInsideVisualStudio)"
Sources ="@(Lib)"
OutputFile ="%(Lib.OutputFile)"
TrackerLogDirectory ="%(Lib.TrackerLogDirectory)"
TLogReadFiles ="@(LIBTLogReadFiles)"
TLogWriteFiles ="@(LIBTLogWriteFiles)"
ToolExe ="$(LIBToolExe)"
ToolPath ="$(LIBToolPath)"
TrackFileAccess ="$(TrackFileAccess)"
MinimalRebuildFromTracking ="%(Lib.MinimalRebuildFromTracking)"
AcceptableNonZeroExitCodes ="%(Lib.AcceptableNonZeroExitCodes)"
EchoCommandLines ="%(Lib.EchoCommandLines)"
UseClangSyntax ="true"
GCCToolPath ="$(GccLibrarian)"
PropertyXmlFile ="$(VCTargetsPath)\Platforms\Clang\Props\mingw_lib.xml"
>
<Output TaskParameter="SkippedExecution" PropertyName="LibSkippedExecution" />
</GCCLib>
<Message Condition="'$(LibSkippedExecution)' == 'false'" Text="$(MSBuildProjectFile) -&gt; $(TargetPath)" Importance="High" />
</Target>
<!-- *******************************************************************************************
Link
******************************************************************************************* -->
<Target Name="Link"
Condition="'@(Link)' != ''">
<PropertyGroup>
<Link_MinimalRebuildFromTracking Condition="'@(Link->AnyHaveMetadataValue('MinimalRebuildFromTracking', 'false'))' == 'true'">false</Link_MinimalRebuildFromTracking>
<Link_MinimalRebuildFromTracking Condition="'$(BuildType)' != 'Build' or '$(ForceRebuild)' == 'true'" >false</Link_MinimalRebuildFromTracking>
<Link_MinimalRebuildFromTracking Condition="'$(Link_MinimalRebuildFromTracking)' == ''">true</Link_MinimalRebuildFromTracking>
</PropertyGroup>
<ItemGroup>
<Link>
<SystemLibraryDirectories>%(Link.SystemLibraryDirectories);$(GccLibPath)</SystemLibraryDirectories>
</Link>
</ItemGroup>
<GCCLink Condition="'$(PlatformToolset)' == 'emcc'"
BuildingInIDE ="$(BuildingInsideVisualStudio)"
Sources ="@(Link)"
OutputFile ="%(Link.OutputFile)"
TrackerLogDirectory ="%(Link.TrackerLogDirectory)"
TLogReadFiles ="@(LinkTLogReadFiles)"
TLogWriteFiles ="@(LinkTLogWriteFiles)"
ToolExe ="$(LinkToolExe)"
ToolPath ="$(LinkToolPath)"
TrackFileAccess ="$(TrackFileAccess)"
MinimalRebuildFromTracking ="$(Link_MinimalRebuildFromTracking)"
AcceptableNonZeroExitCodes ="%(Link.AcceptableNonZeroExitCodes)"
EchoCommandLines ="%(Link.EchoCommandLines)"
GCCToolPath ="$(GccLinker)"
PropertyXmlFile ="$(VCTargetsPath)\Platforms\Clang\Props\emcc_link.xml"
>
<Output TaskParameter="SkippedExecution" PropertyName="LinkSkippedExecution" />
</GCCLink>
<GCCLink Condition="'$(PlatformToolset)' == 'clang'"
BuildingInIDE ="$(BuildingInsideVisualStudio)"
Sources ="@(Link)"
OutputFile ="%(Link.OutputFile)"
TrackerLogDirectory ="%(Link.TrackerLogDirectory)"
TLogReadFiles ="@(LinkTLogReadFiles)"
TLogWriteFiles ="@(LinkTLogWriteFiles)"
ToolExe ="$(LinkToolExe)"
ToolPath ="$(LinkToolPath)"
TrackFileAccess ="$(TrackFileAccess)"
MinimalRebuildFromTracking ="$(Link_MinimalRebuildFromTracking)"
AcceptableNonZeroExitCodes ="%(Link.AcceptableNonZeroExitCodes)"
EchoCommandLines ="%(Link.EchoCommandLines)"
GCCToolPath ="$(MSLinkExe)"
PropertyXmlFile ="$(VCTargetsPath)\Platforms\Clang\Props\link.xml"
>
<Output TaskParameter="SkippedExecution" PropertyName="LinkSkippedExecution" />
</GCCLink>
<Message Condition="'$(LinkSkippedExecution)' == 'false'" Text="$(MSBuildProjectFile) -&gt; $(TargetPath)" Importance="High" />
</Target>
<!-- Override the Microsoft.CppBuild.targets stuff -->
<Import Project="$(VCTargetsPath)\Platforms\Clang\Clang.CppBuild.targets" />
<!-- *******************************************************************************************
PlatformPrepareForBuild target
******************************************************************************************* -->
<Target Name="PlatformPrepareForBuild" DependsOnTargets="$(PlatformPrepareForBuildDependsOn)">
</Target>
<Import Project="$(VCTargetsPath)\Platforms\Clang\PlatformToolsets\$(PlatformToolset)\Microsoft.Cpp.Clang.$(PlatformToolset).targets" Condition="(exists('$(VCTargetsPath)\Platforms\Clang\PlatformToolsets\$(PlatformToolset)\Microsoft.Cpp.Clang.$(PlatformToolset).targets'))" />
<Import Project="$(VCTargetsPath)\Platforms\Clang\ImportAfter\*.targets" Condition="Exists('$(VCTargetsPath)\Platforms\Clang\ImportAfter')" />
</Project>
Jump to Line
Something went wrong with that request. Please try again.