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
|
-- Option to allow copying the DLL file to a custom folder after build
|
||||||
newoption {
|
newoption {
|
||||||
trigger = "copy-to",
|
trigger = "copy-to",
|
||||||
@ -133,6 +130,12 @@ workspace "iw4x"
|
|||||||
"./deps/Wink-Signals",
|
"./deps/Wink-Signals",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- fix vpaths for protobuf sources
|
||||||
|
vpaths {
|
||||||
|
["*"] = { "./src/**" },
|
||||||
|
["Proto/*"] = { "./build/src/proto/**" }, -- seems like we need 'build' here
|
||||||
|
}
|
||||||
|
|
||||||
-- Virtual paths
|
-- Virtual paths
|
||||||
if not _OPTIONS["no-new-structure"] then
|
if not _OPTIONS["no-new-structure"] then
|
||||||
vpaths {
|
vpaths {
|
||||||
|
Loading…
Reference in New Issue
Block a user