mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
VS: Map .jpg and .png sources to Image tool
Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user