summaryrefslogtreecommitdiff
path: root/xmake/rules/winsdk/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-12 12:32:53 +0800
committerGitHub <[email protected]>2019-09-12 12:32:53 +0800
commit961b833b032ee06ffd4f5de96a11013edb8498a7 (patch)
treea7f2378ae72fa63607267286ffd6dacd11086b89 /xmake/rules/winsdk/xmake.lua
parentc58d64d433d2a3e2c97ead29738722aa653ae88a (diff)
parentce51c2de7c11b6368ce8956329f9ebbe4ffd1b67 (diff)
Merge pull request #569 from xmake-io/cppmodules
Add c++ modules ts build rules
Diffstat (limited to 'xmake/rules/winsdk/xmake.lua')
-rw-r--r--xmake/rules/winsdk/xmake.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/rules/winsdk/xmake.lua b/xmake/rules/winsdk/xmake.lua
index e5190fc31..81fc72650 100644
--- a/xmake/rules/winsdk/xmake.lua
+++ b/xmake/rules/winsdk/xmake.lua
@@ -21,9 +21,7 @@
-- define rule: win.sdk.resource
rule("win.sdk.resource")
set_extensions(".rc")
- on_build_files(function (target, sourcebatch, opt)
- import("private.action.build.object")(target, sourcebatch, opt)
- end)
+ on_build_files("private.action.build.object")
-- define rule: application
rule("win.sdk.application")