VS: Map .jpg and .png sources to Image tool

Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
This commit is contained in:
Brad King 2014-07-29 13:52:42 -04:00
parent 58bb14d4ac
commit 0ac28adc01
1 changed files with 5 additions and 0 deletions

View File

@ -1019,6 +1019,11 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf)
{
tool = "AppxManifest";
}
else if(ext == "jpg" ||
ext == "png")
{
tool = "Image";
}
else if(ext == "xml")
{
tool = "XML";