mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-26 15:20:21 +01:00
Visual Studio 2012 project files for those wanting to try it
This was NOT just a straightforward conversion. It took days to figure out why projects kept building over and over again, so committing is the best way for people to kick the tires. These are completely separate from the VS2008 project files, so they do not affect current build process.
This commit is contained in:
72
win/ny.targets
Executable file
72
win/ny.targets
Executable file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<PropertyPageSchema
|
||||
Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
|
||||
<AvailableItemName
|
||||
Include="copy">
|
||||
<Targets>_copy</Targets>
|
||||
</AvailableItemName>
|
||||
</ItemGroup>
|
||||
<UsingTask
|
||||
TaskName="copy"
|
||||
TaskFactory="XamlTaskFactory"
|
||||
AssemblyName="Microsoft.Build.Tasks.v4.0">
|
||||
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
|
||||
</UsingTask>
|
||||
<Target
|
||||
Name="_copy"
|
||||
BeforeTargets="$(copyBeforeTargets)"
|
||||
AfterTargets="$(copyAfterTargets)"
|
||||
Condition="'@(copy)' != ''"
|
||||
DependsOnTargets="$(copyDependsOn);ComputecopyOutput"
|
||||
Outputs="@(copy->'%(Outputs)')"
|
||||
Inputs="@(copy)">
|
||||
<ItemGroup
|
||||
Condition="'@(SelectedFiles)' != ''">
|
||||
<copy
|
||||
Remove="@(copy)"
|
||||
Condition="'%(Identity)' != '@(SelectedFiles)'" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<copy_tlog
|
||||
Include="%(copy.Outputs)"
|
||||
Condition="'%(copy.Outputs)' != '' and '%(copy.ExcludedFromBuild)' != 'true'">
|
||||
<Source>@(copy, '|')</Source>
|
||||
</copy_tlog>
|
||||
</ItemGroup>
|
||||
<Message
|
||||
Importance="High"
|
||||
Text="%(copy.ExecutionDescription)" />
|
||||
<WriteLinesToFile
|
||||
Condition="'@(copy_tlog)' != '' and '%(copy_tlog.ExcludedFromBuild)' != 'true'"
|
||||
File="$(TLogLocation)$(ProjectName).write.1.tlog"
|
||||
Lines="^%(copy_tlog.Source);@(copy_tlog->'%(Fullpath)')" />
|
||||
<copy
|
||||
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
||||
CommandLineTemplate="%(copy.CommandLineTemplate)"
|
||||
AdditionalOptions="%(copy.AdditionalOptions)"
|
||||
Inputs="@(copy)" />
|
||||
</Target>
|
||||
<PropertyGroup>
|
||||
<ComputeLinkInputsTargets>
|
||||
$(ComputeLinkInputsTargets);
|
||||
ComputecopyOutput;
|
||||
</ComputeLinkInputsTargets>
|
||||
<ComputeLibInputsTargets>
|
||||
$(ComputeLibInputsTargets);
|
||||
ComputecopyOutput;
|
||||
</ComputeLibInputsTargets>
|
||||
</PropertyGroup>
|
||||
<Target
|
||||
Name="ComputecopyOutput"
|
||||
Condition="'@(copy)' != ''">
|
||||
<ItemGroup>
|
||||
<copyDirsToMake
|
||||
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
||||
Include="%(copy.Outputs)" />
|
||||
</ItemGroup>
|
||||
<MakeDir
|
||||
Directories="@(copyDirsToMake->'%(RootDir)%(Directory)')" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user