diff options
| author | ruki <[email protected]> | 2023-09-14 23:02:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-14 23:02:27 +0800 |
| commit | 543be3202228b3b6999c92936cbd8a335b95054b (patch) | |
| tree | 454f996251b5b407741e2cde98553c83838381c5 | |
| parent | f0422fd50a1c444052d2e824bf7c25c06c6d762c (diff) | |
support remote build for project generator
| -rw-r--r-- | xmake/plugins/project/main.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/plugins/project/main.lua b/xmake/plugins/project/main.lua index 79235da11..e9ef607f1 100644 --- a/xmake/plugins/project/main.lua +++ b/xmake/plugins/project/main.lua @@ -32,6 +32,7 @@ import("vsxmake.vsxmake") import("clang.compile_flags") import("clang.compile_commands") import("private.utils.statistics") +import("private.service.remote_build.action", {alias = "remote_build_action"}) function makers() return { @@ -76,6 +77,11 @@ end function main() + -- do action for remote? + if remote_build_action.enabled() then + return remote_build_action() + end + -- in project generator? os.setenv("XMAKE_IN_PROJECT_GENERATOR", "true") |
