mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
build proto files is a separate folder than dll/
This commit is contained in:
parent
783f32c179
commit
a03936753a
11
premake5.lua
11
premake5.lua
@ -89,7 +89,7 @@ local function genproto()
|
||||
end
|
||||
local protoc_exe = path.join(deps_dir, 'protobuf', deps_install_prefix, 'bin', 'protoc')
|
||||
|
||||
local out_dir = 'dll/proto_gen/' .. os_iden
|
||||
local out_dir = 'proto_gen/' .. os_iden
|
||||
|
||||
if os.host() == "windows" then
|
||||
protoc_exe = protoc_exe .. '.exe'
|
||||
@ -167,7 +167,7 @@ local common_emu_defines = { -- added to all filters, later defines will be appe
|
||||
---------
|
||||
local common_include = {
|
||||
'dll',
|
||||
'dll/proto_gen/' .. os_iden,
|
||||
'proto_gen/' .. os_iden,
|
||||
'libs',
|
||||
'libs/utfcpp',
|
||||
'helpers',
|
||||
@ -212,10 +212,10 @@ local common_files = {
|
||||
-- dll/
|
||||
"dll/*.cpp", "dll/*.c",
|
||||
"dll/*.hpp", "dll/*.h",
|
||||
-- dll/proto_gen/
|
||||
'dll/proto_gen/' .. os_iden .. '/*.cc', 'dll/proto_gen/' .. os_iden .. '/*.h',
|
||||
-- controller
|
||||
"controller/gamepad.c", "controller/controller/gamepad.h",
|
||||
-- proto_gen/
|
||||
'proto_gen/' .. os_iden .. '/**',
|
||||
-- crash_printer/
|
||||
'crash_printer/' .. os_iden .. '.cpp', 'crash_printer/crash_printer/' .. os_iden .. '.hpp',
|
||||
-- helpers/
|
||||
@ -471,6 +471,9 @@ vpaths { -- just for visual niceness, see: https://premake.github.io/docs/vpaths
|
||||
["asm/*"] = {
|
||||
"**.s", "**.asm",
|
||||
},
|
||||
["proto/*"] = {
|
||||
"**.proto",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user