summaryrefslogtreecommitdiff
path: root/xmake/plugins/project
diff options
context:
space:
mode:
authorHapiFive <[email protected]>2024-05-15 09:10:38 +0800
committerHapiFive <[email protected]>2024-05-15 09:10:38 +0800
commitad297826da3559b6a034ce339a10807119c2462d (patch)
treebde8b9e9f5e0a5f81fe24379dc22737632d2d6bd /xmake/plugins/project
parent1f76e280c4bb8a05746cd86fc38b2a4bf25478c6 (diff)
add ts for vsxmake
Diffstat (limited to 'xmake/plugins/project')
-rw-r--r--xmake/plugins/project/vsxmake/vsxmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/plugins/project/vsxmake/vsxmake.lua b/xmake/plugins/project/vsxmake/vsxmake.lua
index bae206cee..2b3ded5d6 100644
--- a/xmake/plugins/project/vsxmake/vsxmake.lua
+++ b/xmake/plugins/project/vsxmake/vsxmake.lua
@@ -142,6 +142,9 @@ function _buildparams(info, target, default)
elseif args.fileqrc then -- for qt/.qrc
local files = info._targets[target].sourcefiles
table.insert(r, _filter_files(files, {".qrc"}))
+ elseif args.filets then -- for qt/.ts
+ local files = info._targets[target].sourcefiles
+ table.insert(r, _filter_files(files, {".ts"}))
elseif args.incc then
local files = table.join(info._targets[target].headerfiles or {}, info._targets[target].extrafiles)
table.insert(r, _filter_files(files, nil, {".natvis"}))