summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vsxmake/vsxmake.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-18 10:04:03 +0800
committerOpportunityLiu <[email protected]>2019-07-19 11:48:32 +0800
commitc9f0e8a551778e185b1fb92f2bb07d8cc3581f95 (patch)
treea4efc9a280911256d2ea57d992e95f17e7ca870c /xmake/plugins/project/vsxmake/vsxmake.lua
parent33729fbb22f06ec784cbabf9fe06847a6077e86c (diff)
rename file; support cuda build selected file
Diffstat (limited to 'xmake/plugins/project/vsxmake/vsxmake.lua')
-rw-r--r--xmake/plugins/project/vsxmake/vsxmake.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/plugins/project/vsxmake/vsxmake.lua b/xmake/plugins/project/vsxmake/vsxmake.lua
index 6fe5bce24..ac9e27c85 100644
--- a/xmake/plugins/project/vsxmake/vsxmake.lua
+++ b/xmake/plugins/project/vsxmake/vsxmake.lua
@@ -32,8 +32,8 @@ local template_fil = path.join(template_root, "vcxproj.filters", "#target#.vcxpr
local template_usr = path.join(template_root, "#target#.vcxproj.user")
local template_props = path.join(template_root, "Xmake.Custom.props")
local template_targets = path.join(template_root, "Xmake.Custom.targets")
-local template_files = path.join(template_root, "Xmake.Custom.files")
-local template_filefil = path.join(template_root, "Xmake.Custom.files.filters")
+local template_items = path.join(template_root, "Xmake.Custom.items")
+local template_itemfil = path.join(template_root, "Xmake.Custom.items.filters")
function _filter_files(files, exts)
local extset = hashset.from(exts)
@@ -160,8 +160,8 @@ function make(version)
-- add project custom file
_trycp(template_props, proj_dir)
_trycp(template_targets, proj_dir)
- _trycp(template_files, proj_dir)
- _trycp(template_filefil, proj_dir)
+ _trycp(template_items, proj_dir)
+ _trycp(template_itemfil, proj_dir)
-- add project user file
_trycp(template_usr, proj_dir, target .. ".vcxproj.user")
end