VS: Map .jpg and .png sources to Image tool
Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
This commit is contained in:
parent
58bb14d4ac
commit
0ac28adc01
|
@ -1019,6 +1019,11 @@ void cmVisualStudio10TargetGenerator::WriteExtraSource(cmSourceFile const* sf)
|
||||||
{
|
{
|
||||||
tool = "AppxManifest";
|
tool = "AppxManifest";
|
||||||
}
|
}
|
||||||
|
else if(ext == "jpg" ||
|
||||||
|
ext == "png")
|
||||||
|
{
|
||||||
|
tool = "Image";
|
||||||
|
}
|
||||||
else if(ext == "xml")
|
else if(ext == "xml")
|
||||||
{
|
{
|
||||||
tool = "XML";
|
tool = "XML";
|
||||||
|
|
Loading…
Reference in New Issue