summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-06 22:25:44 +0800
committerGitHub <[email protected]>2025-05-06 22:25:44 +0800
commitea13d87b271fbfe6ec96b90cb6b315220f4c53e9 (patch)
tree275cc4f2ca1eb411dd9b1b42438b492190d47200 /tests/projects
parenta4d1b8c7ee7caa4d48ce8182e948e5058c005ec0 (diff)
parentf88aa4f41876e32987c60403831c105af54742c5 (diff)
Merge pull request #6395 from star-hengxing/midl
Improve idl rule
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/windows/idl/test_rpc/xmake.lua2
-rw-r--r--tests/projects/windows/idl/test_rpc_noserver/xmake.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/windows/idl/test_rpc/xmake.lua b/tests/projects/windows/idl/test_rpc/xmake.lua
index 3eba457d6..584994678 100644
--- a/tests/projects/windows/idl/test_rpc/xmake.lua
+++ b/tests/projects/windows/idl/test_rpc/xmake.lua
@@ -2,6 +2,6 @@ add_rules("mode.debug", "mode.release")
target("idltest_rpc")
set_kind("binary")
- add_files("src/*.idl" )
+ add_files("src/*.idl", {client = true, server = true})
add_files("src/*.c")
add_syslinks("Rpcrt4")
diff --git a/tests/projects/windows/idl/test_rpc_noserver/xmake.lua b/tests/projects/windows/idl/test_rpc_noserver/xmake.lua
index c44a6433b..25c43d6a2 100644
--- a/tests/projects/windows/idl/test_rpc_noserver/xmake.lua
+++ b/tests/projects/windows/idl/test_rpc_noserver/xmake.lua
@@ -2,6 +2,6 @@ add_rules("mode.debug", "mode.release")
target("idltest_rpc_noserver")
set_kind("binary")
- add_files("src/*.idl", { server = false } )
+ add_files("src/*.idl", {client = true, server = false})
add_files("src/*.c")
add_syslinks("Rpcrt4")