-
-
Notifications
You must be signed in to change notification settings - Fork 632
Open
Labels
Description
Hello. I have a question about vpaths inheritance.
I want to make a separate (or rather additional) set of vpaths in my project.
This is the project tree:
src_main
appframework/
...
public/
appframework/
AppFramework.h
IAppSystem.h
premake5.lua
src_main/premake5.lua:
workspace "everything"
...
vpaths {
["Header Files"] = { "**.h", "**.hpp" },
["Source Files"] = { "**.c", "**.cpp" },
["Shaders"] = { "**.fxc", "**.psh", "**.vsh" },
}
...
group "Common"
include "appframework"
And this is what I have in src_main/appframework/premake5.lua:
local prj = project("appframework")
...
files {
...
}
vpaths {
["Interface"] = "../public/appframework/**.h"
}
Seems like Premake only considers the main vpaths (from workspace), but not the vpaths from "appframework" project.
It puts headers from src_main/public/appframework to a "Header Files" filter in the final ".vcxproj.filters" file, but not "Interface".
How can I accomplish the desired functionality?