Changeset 1384
- Timestamp:
- May 14, 2012, 1:48:41 AM (11 years ago)
- Location:
- trunk/win32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/win32/Lol.Fx.props
r1380 r1384 25 25 endlocal 26 26 echo ; >> "%D%"</CommandLineTemplate> 27 <ExecutionDescription>Compiling with Lol Fx Build Rule...</ExecutionDescription> 27 <Outputs>$(IntDir)%(FileName)%(Extension).cpp</Outputs> 28 <ExecutionDescription>%(FileName)%(Extension)</ExecutionDescription> 28 29 </LolFxCompile> 29 30 </ItemDefinitionGroup> -
trunk/win32/Lol.Fx.targets
r1380 r1384 2 2 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 3 <ItemGroup> 4 <PropertyPageSchema 5 Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" /> 6 <AvailableItemName 7 Include="LolFxCompile"> 4 <PropertyPageSchema Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" /> 5 <AvailableItemName Include="LolFxCompile"> 8 6 <Targets>LolFxCompile</Targets> 9 7 </AvailableItemName> 10 8 </ItemGroup> 9 10 <PropertyGroup> 11 <ComputeCompileInputsTargets> 12 $(ComputeCompileInputsTargets); 13 ComputeLolFxCompileOutput; 14 </ComputeCompileInputsTargets> 15 </PropertyGroup> 16 11 17 <UsingTask 12 18 TaskName="LolFxCompile" … … 15 21 <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task> 16 22 </UsingTask> 23 17 24 <Target 18 25 Name="LolFxCompile" … … 50 57 Condition="'@(LolFxCompile)' != '' and '%(LolFxCompile.ExcludedFromBuild)' != 'true'" 51 58 CommandLineTemplate="%(LolFxCompile.CommandLineTemplate)" 59 Outputs="%(LolFxCompile.Outputs)" 52 60 IntDir="$(IntDir)" 53 Outputs="$(Outputs)"54 61 FileName="%(FileName)" 55 62 Inputs="@(LolFxCompile)" /> 56 63 </Target> 57 64 58 <PropertyGroup>59 <ComputeLinkInputsTargets>60 $(ComputeLinkInputsTargets);61 ComputeLolFxCompileOutput;62 </ComputeLinkInputsTargets>63 <ComputeLibInputsTargets>64 $(ComputeLibInputsTargets);65 ComputeLolFxCompileOutput;66 </ComputeLibInputsTargets>67 </PropertyGroup>68 65 69 66 <Target Name="ComputeLolFxCompileOutput" Condition="'@(LolFxCompile)' != ''"> 67 <ItemGroup> 68 <ClCompile Include="@(LolFxCompile->Metadata('CompileOut')->Distinct()->ClearMetadata())" Condition="'%(LolFxCompile.ExcludedFromBuild)' != 'true'"> 69 <CompileAs>CompileAsC</CompileAs> 70 </ClCompile> 71 <ClCompile Include="%(LolFxCompile.Outputs)" /> 72 </ItemGroup> 70 73 <ItemGroup> 71 74 <LolFxCompile> … … 73 76 </LolFxCompile> 74 77 </ItemGroup> 75 <ItemGroup>76 <ClCompile Include="%(LolFxCompile.Outputs)" />77 </ItemGroup>78 78 </Target> 79 79 -
trunk/win32/Lol.Fx.xml
r1380 r1384 51 51 </StringListProperty> 52 52 <StringListProperty 53 Name="Outputs"54 DisplayName="Outputs"55 Visible="False"56 IncludeInCommandLine="False" />57 <StringListProperty58 53 Name="FileName" 59 54 Category="Command Line" … … 61 56 Switch=" "> 62 57 </StringListProperty> 58 <StringProperty 59 Name="Outputs" 60 Category="Command Line" 61 IsRequired="true" 62 Switch=" " /> 63 63 <StringProperty 64 64 Name="CommandLineTemplate"
Note: See TracChangeset
for help on using the changeset viewer.