summaryrefslogtreecommitdiff
path: root/xmake/rules/plugin/vsxmake/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-16 00:49:26 +0800
committerruki <[email protected]>2023-03-16 00:49:26 +0800
commitaa1adec68c504d39889f4d98729354369aae4961 (patch)
treea7b4c6281312bc874e3cb1c1629d99962fe33bbd /xmake/rules/plugin/vsxmake/xmake.lua
parente653ad7c7338f23b86eeaea1207176dc0e375d05 (diff)
add XMAKE_IN_XREPO
Diffstat (limited to 'xmake/rules/plugin/vsxmake/xmake.lua')
-rw-r--r--xmake/rules/plugin/vsxmake/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/plugin/vsxmake/xmake.lua b/xmake/rules/plugin/vsxmake/xmake.lua
index bb0f231e4..50139010e 100644
--- a/xmake/rules/plugin/vsxmake/xmake.lua
+++ b/xmake/rules/plugin/vsxmake/xmake.lua
@@ -47,7 +47,7 @@ rule("plugin.vsxmake.autoupdate")
local archs = localcache.get("vsxmake", "archs")
local outputdir = localcache.get("vsxmake", "outputdir")
if lockfile:trylock() then
- if os.getenv("XMAKE_IN_VSTUDIO") then
+ if os.getenv("XMAKE_IN_VSTUDIO") and not os.getenv("XMAKE_IN_XREPO") then
local sourcefiles = {}
for _, target in pairs(project.targets()) do
table.join2(sourcefiles, target:sourcefiles(), target:headerfiles())