mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
build deps in a subfolder according to premake _ACTION
This commit is contained in:
parent
9b8cf8fe05
commit
be91843d8a
@ -146,7 +146,7 @@ end
|
|||||||
|
|
||||||
-- common defs
|
-- common defs
|
||||||
---------
|
---------
|
||||||
local deps_dir = path.getabsolute(path.join('build', 'deps', os_iden), _MAIN_SCRIPT_DIR)
|
local deps_dir = path.getabsolute(path.join('build', 'deps', os_iden, _ACTION), _MAIN_SCRIPT_DIR)
|
||||||
local third_party_dir = path.getabsolute('third-party')
|
local third_party_dir = path.getabsolute('third-party')
|
||||||
local third_party_deps_dir = path.join(third_party_dir, 'deps', os_iden)
|
local third_party_deps_dir = path.join(third_party_dir, 'deps', os_iden)
|
||||||
local third_party_common_dir = path.join(third_party_dir, 'deps', 'common')
|
local third_party_common_dir = path.join(third_party_dir, 'deps', 'common')
|
||||||
@ -350,6 +350,7 @@ local function cmake_build(dep_folder, is_32, extra_cmd_defs, c_flags_init, cxx_
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- chmod tools
|
||||||
if os.host() == "linux" then
|
if os.host() == "linux" then
|
||||||
local ok_chmod, err_chmod = os.chmod(extractor, "777")
|
local ok_chmod, err_chmod = os.chmod(extractor, "777")
|
||||||
if not ok_chmod then
|
if not ok_chmod then
|
||||||
|
Loading…
Reference in New Issue
Block a user