premake / premake-core

Premake

Home Page:https://premake.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to setup filter based on file name in visual studio?

Intervel opened this issue · comments

hello! love premake so far! i have one questions.

how to setup filter based on file name in visual studio?
i want to filters based on file name. such as:

"component"
"system"

1

i tried this so far:

2

i want to pack this component/system file into the same filters. how to do that?

Do you mean:

["Headers/system"] = {"**/*_system.h"},
["Headers/component"] = {"**/*_component.h"},
["Sources/system"] = {"**/*_system.cpp"},
["Sources/component"] = {"**/*_component.cpp"},

?