Created
August 21, 2012 02:02
-
-
Save jonathanpeppers/3410581 to your computer and use it in GitHub Desktop.
Project include
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup> | |
<WildCard Include="..\..\..\..\Assets\Fonts\*.spritefont"> | |
<Link>%(FileName).spritefont</Link> | |
<Importer>FontDescriptionImporter</Importer> | |
<Processor>FontDescriptionProcessor</Processor> | |
</WildCard> | |
</ItemGroup> | |
<ItemGroup> | |
<WildCard Include="..\..\..\..\Assets\images\spritesheet\iPad\*.png"> | |
<Link>%(FileName).png</Link> | |
<Importer>TextureImporter</Importer> | |
<Processor>TextureProcessor</Processor> | |
<ProcessorParameters_PremultiplyAlpha>False</ProcessorParameters_PremultiplyAlpha> | |
</WildCard> | |
</ItemGroup> | |
<ItemGroup> | |
<WildCard Include="..\..\..\..\Assets\sounds\*.mp3"> | |
<Link>Sounds\%(FileName).mp3</Link> | |
<Importer>Mp3Importer</Importer> | |
<Processor>SoundEffectProcessor</Processor> | |
</WildCard> | |
</ItemGroup> | |
<ItemGroup> | |
<WildCard Include="..\..\..\..\Assets\music\*.mp3"> | |
<Link>Music\%(FileName).mp3</Link> | |
<Importer>Mp3Importer</Importer> | |
<Processor>SongProcessor</Processor> | |
</WildCard> | |
</ItemGroup> | |
<Target Name="BeforeBuild"> | |
<CreateItem Include="@(WildCard)" AdditionalMetadata="Name=%(FileName)"> | |
<Output TaskParameter="Include" ItemName="Compile" /> | |
</CreateItem> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment