Update test now sub ticks property is no more ignored
[scilab.git] / scilab / Visual-Studio-settings / rename-vc-files.targets
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ItemGroup>
4     <PropertyPageSchema
5       Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
6     <AvailableItemName
7       Include="rename_vc_extension_files">
8       <Targets>_rename_vc_extension_files</Targets>
9     </AvailableItemName>
10   </ItemGroup>
11   <UsingTask
12     TaskName="rename_vc_extension_files"
13     TaskFactory="XamlTaskFactory"
14     AssemblyName="Microsoft.Build.Tasks.v4.0">
15     <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
16   </UsingTask>
17   <Target
18     Name="_rename_vc_extension_files"
19     BeforeTargets="$(rename_vc_extension_filesBeforeTargets)"
20     AfterTargets="$(rename_vc_extension_filesAfterTargets)"
21     Condition="'@(rename_vc_extension_files)' != ''"
22     DependsOnTargets="$(rename_vc_extension_filesDependsOn);Computerename_vc_extension_filesOutput"
23     Outputs="%(rename_vc_extension_files.Outputs)"
24     Inputs="%(rename_vc_extension_files.Identity);%(rename_vc_extension_files.AdditionalDependencies);$(MSBuildProjectFile)">
25     <ItemGroup
26       Condition="'@(SelectedFiles)' != ''">
27       <rename_vc_extension_files
28         Remove="@(rename_vc_extension_files)"
29         Condition="'%(Identity)' != '@(SelectedFiles)'" />
30     </ItemGroup>
31     <ItemGroup>
32       <rename_vc_extension_files_tlog
33         Include="%(rename_vc_extension_files.Outputs)"
34         Condition="'%(rename_vc_extension_files.Outputs)' != '' and '%(rename_vc_extension_files.ExcludedFromBuild)' != 'true'">
35         <Source>@(rename_vc_extension_files, '|')</Source>
36       </rename_vc_extension_files_tlog>
37     </ItemGroup>
38     <Message
39       Importance="High"
40       Text="%(rename_vc_extension_files.ExecutionDescription)" />
41     <WriteLinesToFile
42       Condition="'@(rename_vc_extension_files_tlog)' != '' and '%(rename_vc_extension_files_tlog.ExcludedFromBuild)' != 'true'"
43       File="$(IntDir)$(ProjectName).write.1.tlog"
44       Lines="^%(rename_vc_extension_files_tlog.Source);@(rename_vc_extension_files_tlog-&gt;'%(Fullpath)')" />
45     <rename_vc_extension_files
46       Condition="'@(rename_vc_extension_files)' != '' and '%(rename_vc_extension_files.ExcludedFromBuild)' != 'true'"
47       CommandLineTemplate="%(rename_vc_extension_files.CommandLineTemplate)"
48       AdditionalOptions="%(rename_vc_extension_files.AdditionalOptions)"
49       Inputs="%(rename_vc_extension_files.Identity)" />
50   </Target>
51   <PropertyGroup>
52     <ComputeLinkInputsTargets>
53             $(ComputeLinkInputsTargets);
54             Computerename_vc_extension_filesOutput;
55           </ComputeLinkInputsTargets>
56     <ComputeLibInputsTargets>
57             $(ComputeLibInputsTargets);
58             Computerename_vc_extension_filesOutput;
59           </ComputeLibInputsTargets>
60   </PropertyGroup>
61   <Target
62     Name="Computerename_vc_extension_filesOutput"
63     Condition="'@(rename_vc_extension_files)' != ''">
64     <ItemGroup>
65       <rename_vc_extension_filesDirsToMake
66         Condition="'@(rename_vc_extension_files)' != '' and '%(rename_vc_extension_files.ExcludedFromBuild)' != 'true'"
67         Include="%(rename_vc_extension_files.Outputs)" />
68       <Link
69         Include="%(rename_vc_extension_filesDirsToMake.Identity)"
70         Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
71       <Lib
72         Include="%(rename_vc_extension_filesDirsToMake.Identity)"
73         Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
74       <ImpLib
75         Include="%(rename_vc_extension_filesDirsToMake.Identity)"
76         Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
77     </ItemGroup>
78     <MakeDir
79       Directories="@(rename_vc_extension_filesDirsToMake-&gt;'%(RootDir)%(Directory)')" />
80   </Target>
81 </Project>