Skip to content

Commit 4d26f86

Browse files
committed
fix vs201x #6476
1 parent 84b0e0a commit 4d26f86

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

xmake/plugins/project/vstudio/impl/vs201x.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,9 @@ function _make_custom_commands(target, vcxprojdir)
138138
-- we use irpairs(groups), because the last group that should be given the highest priority.
139139
-- rule.on_buildcmd_files should also be executed before building the target
140140
local cmds_before = target_cmds.get_target_buildcmds(target, {ignored_rules = ignored_rules, stages = {"before", "on"}})
141-
_add_target_custom_commands_for_batchcmds(cmakelists, target, outputdir, "before", cmds_before)
142141

143142
-- add after commands
144143
local cmds_after = target_cmds.get_target_buildcmds(target, {ignored_rules = ignored_rules, stages = {"after"}})
145-
_add_target_custom_commands_for_batchcmds(cmakelists, target, outputdir, "after", cmds_after)
146144

147145
local commands = {}
148146
for _, cmd in ipairs(cmds_before) do

0 commit comments

Comments
 (0)