In our original solution, we have filters in our projects that allow us to sort files: "Source Files", "Header Files", etc.
I would like to reproduce this behaviour with premake 5. I'm able to create filters for sorting projects using group "..." but I'm unable to perform the same task inside a project.
Any ideas?
The call you're looking for is vpaths:
vpaths {
    ["Headers"] = { "**.h", "**.hpp" },
    ["Sources/*"] = {"**.c", "**.cpp"},
    ["Docs"] = "**.md"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With