Fix vpaths if not using new structure
This commit is contained in:
parent
9eb70a2999
commit
d875f36be2
@ -1,6 +1,3 @@
|
||||
-- protoc tool
|
||||
protocBinPath = path.translate(path.join(_MAIN_SCRIPT_DIR, "tools", "protoc.exe"))
|
||||
|
||||
-- Option to allow copying the DLL file to a custom folder after build
|
||||
newoption {
|
||||
trigger = "copy-to",
|
||||
@ -133,6 +130,12 @@ workspace "iw4x"
|
||||
"./deps/Wink-Signals",
|
||||
}
|
||||
|
||||
-- fix vpaths for protobuf sources
|
||||
vpaths {
|
||||
["*"] = { "./src/**" },
|
||||
["Proto/*"] = { "./build/src/proto/**" }, -- seems like we need 'build' here
|
||||
}
|
||||
|
||||
-- Virtual paths
|
||||
if not _OPTIONS["no-new-structure"] then
|
||||
vpaths {
|
||||
|
Loading…
Reference in New Issue
Block a user