Merge pull request #945 from premake/natvis

Natvis files have an item group.
This commit is contained in:
Samuel Surtees 2017-11-10 13:56:32 +10:00 committed by GitHub
commit 96a020c532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -782,6 +782,7 @@
end
}
---
-- Masm group
---
@ -820,6 +821,7 @@
end
}
---
-- Image group
---
@ -842,6 +844,25 @@
end
}
---
-- Natvis group
---
m.categories.Natvis = {
name = "Natvis",
extensions = { ".natvis" },
priority = 9,
emitFiles = function(prj, group)
m.emitFiles(prj, group, "Natvis", {m.generatedFile})
end,
emitFilter = function(prj, group)
m.filterGroup(prj, group, "Natvis")
end
}
---
-- Categorize files into groups.
---