summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/project/main.lua')
-rw-r--r--xmake/plugins/project/main.lua6
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")