OLD | NEW |
(Empty) | |
| 1 |
| 2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuil
d/2003"> |
| 3 <Import Project="$(VCTargetsPath)\Platforms\NaCl\ImportBefore\*.targets" Condi
tion="Exists('$(VCTargetsPath)\Platforms\NaCl\ImportBefore')" /> |
| 4 <Import Project="$(VCTargetsPath)\Microsoft.CppCommon.targets" /> |
| 5 |
| 6 <UsingTask TaskName="NaClCompile" AssemblyFile="$(VCTargetsPath)\Platforms\NaC
l\NaCl.Build.CPPTasks.dll" /> |
| 7 <UsingTask TaskName="NaClLink" AssemblyFile="$(VCTargetsPath)\Platforms\NaCl\N
aCl.Build.CPPTasks.dll" /> |
| 8 <UsingTask TaskName="NaClLib" AssemblyFile="$(VCTargetsPath)\Platforms\NaCl\Na
Cl.Build.CPPTasks.dll" /> |
| 9 <UsingTask TaskName="VCMessage" AssemblyName="Microsoft.Build.CppTasks.Common,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
| 10 |
| 11 |
| 12 <PropertyGroup> |
| 13 <!-- Enable incremental build by enable file tracking in tasks--> |
| 14 <TrackFileAccess Condition="'$(TrackFileAccess)' == ''">true</TrackFileAcces
s> |
| 15 </PropertyGroup> |
| 16 |
| 17 <!-- *************************************************************************
****************** |
| 18 CLCompile |
| 19 *************************************************************************
****************** --> |
| 20 |
| 21 <Target Name="ClCompile" |
| 22 Condition="'@(ClCompile)' != ''" |
| 23 DependsOnTargets="SelectClCompile"> |
| 24 |
| 25 <NaClCompile Condition="'%(ClCompile.ExcludedFromBuild)'!='true'" |
| 26 BuildingInIDE ="$(BuildingInsideVisualStud
io)" |
| 27 Sources ="@(ClCompile)"
|
| 28 OutputCommandLine ="%(ClCompile.OutputCommandL
ine)" |
| 29 MinimalRebuildFromTracking ="%(ClCompile.MinimalRebuild
FromTracking)" |
| 30 NaCLCompilerPath ="$(NaClCompiler)" |
| 31 PropertiesFile ="$(VCTargetsPath)\Platfor
ms\NaCl\Properties\nacl_compile.xml" |
| 32 TLogReadFiles ="@(CLTLogReadFiles)" |
| 33 TLogWriteFiles ="@(CLTLogWriteFiles)" |
| 34 ToolExe ="$(CLToolExe)" |
| 35 ToolPath ="$(CLToolPath)" |
| 36 TrackFileAccess ="$(TrackFileAccess)" |
| 37 TrackerLogDirectory ="%(ClCompile.TrackerLogDire
ctory)"> |
| 38 </NaClCompile> |
| 39 </Target> |
| 40 |
| 41 <!-- *************************************************************************
****************** |
| 42 Link |
| 43 *************************************************************************
****************** --> |
| 44 |
| 45 <Target Name="Link" |
| 46 Condition="'@(Link)' != ''"> |
| 47 |
| 48 <PropertyGroup> |
| 49 <Link_MinimalRebuildFromTracking Condition="'@(Link->AnyHaveMetadataValue(
'MinimalRebuildFromTracking', 'false'))' == 'true'">false</Link_MinimalRebuildFr
omTracking> |
| 50 <Link_MinimalRebuildFromTracking Condition="'$(BuildType)' != 'Build' or '
$(ForceRebuild)' == 'true'" >false</Link_MinimalRebuildFromTracking> |
| 51 <Link_MinimalRebuildFromTracking Condition="'$(Link_MinimalRebuildFromTrac
king)' == ''">true</Link_MinimalRebuildFromTracking> |
| 52 </PropertyGroup> |
| 53 |
| 54 <NaClLink BuildingInIDE ="$(BuildingInsideVisualStudio)" |
| 55 Sources ="@(Link)" |
| 56 |
| 57 OutputCommandLine ="%(Link.OutputCommandLine)"
|
| 58 NaClLinkerPath ="$(NaClLinker)" |
| 59 MinimalRebuildFromTracking ="$(Link_MinimalRebuildFromTracking
)" |
| 60 OutputFile ="%(Link.OutputFile)" |
| 61 PropertiesFile ="$(VCTargetsPath)\Platforms\NaCl
\Properties\nacl_link.xml" |
| 62 TLogReadFiles ="@(LinkTLogReadFiles)" |
| 63 TLogWriteFiles ="@(LinkTLogWriteFiles)" |
| 64 ToolExe ="$(LinkToolExe)" |
| 65 ToolPath ="$(LinkToolPath)" |
| 66 TrackerLogDirectory ="%(Link.TrackerLogDirectory)" |
| 67 TrackFileAccess ="$(TrackFileAccess)" |
| 68 ConfigurationType ="$(ConfigurationType)"
> |
| 69 <Output TaskParameter="SkippedExecution" PropertyName="LinkSkippedExecutio
n" /> |
| 70 </NaClLink> |
| 71 |
| 72 <Message Condition="'$(LinkSkippedExecution)' == 'false'" Text="$(MSBuildPro
jectFile) -> $(TargetPath)" Importance="High" /> |
| 73 |
| 74 </Target> |
| 75 |
| 76 |
| 77 <!-- *************************************************************************
****************** |
| 78 Lib |
| 79 *************************************************************************
****************** --> |
| 80 |
| 81 <!-- Lib script based on: MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targe
ts --> |
| 82 |
| 83 <Target Name="Lib" |
| 84 Condition="'@(Lib)' != ''"> |
| 85 |
| 86 <ItemGroup> |
| 87 <Lib> |
| 88 <MinimalRebuildFromTracking Condition="'%(Lib.MinimalRebuildFromTracking
)' == '' and '$(BuildType)' == 'Build' and '$(ForceRebuild)' != 'true'">true</Mi
nimalRebuildFromTracking> |
| 89 </Lib> |
| 90 </ItemGroup> |
| 91 |
| 92 <NaClLib BuildingInIDE ="$(BuildingInsideVisualStudio)" |
| 93 Sources ="@(Lib)" |
| 94 OutputCommandLine ="%(Lib.OutputCommandLine)" |
| 95 LibrarianToolPath ="$(NaClLibrarian)" |
| 96 MinimalRebuildFromTracking ="%(Lib.MinimalRebuildFromTracking)" |
| 97 OutputFile ="%(Lib.OutputFile)" |
| 98 PropertiesFile ="$(VCTargetsPath)\Platforms\NaCl\Pr
operties\nacl_lib.xml" |
| 99 TrackerLogDirectory ="%(Lib.TrackerLogDirectory)" |
| 100 TLogReadFiles ="@(LIBTLogReadFiles)" |
| 101 TLogWriteFiles ="@(LIBTLogWriteFiles)" |
| 102 ToolExe ="$(LIBToolExe)" |
| 103 ToolPath ="$(LIBToolPath)" |
| 104 TrackFileAccess ="$(TrackFileAccess)"> |
| 105 <Output TaskParameter="SkippedExecution" PropertyName="LibSkippedExecuti
on" /> |
| 106 </NaClLib> |
| 107 |
| 108 <Message Condition="'$(LibSkippedExecution)' == 'false'" Text="$(MSBuildProj
ectFile) -> $(TargetPath)" Importance="High" /> |
| 109 |
| 110 </Target> |
| 111 |
| 112 <!-- Imports --> |
| 113 <Import Project="$(VCTargetsPath)\Platforms\NaCl\NaCl.CppBuild.targets" /> |
| 114 <Import Project="$(VCTargetsPath)\Platforms\NaCl\PlatformToolsets\$(PlatformTo
olset)\Microsoft.Cpp.NaCl.$(PlatformToolset).targets" Condition="(exists('$(VCTa
rgetsPath)\Platforms\NaCl\PlatformToolsets\$(PlatformToolset)\Microsoft.Cpp.NaCl
.$(PlatformToolset).targets'))" /> |
| 115 </Project> |
| 116 |
| 117 |
| 118 |
OLD | NEW |