summaryrefslogtreecommitdiff
path: root/xmake/scripts
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/scripts
parent1f76e280c4bb8a05746cd86fc38b2a4bf25478c6 (diff)
add ts for vsxmake
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters1
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.ts(filets)3
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj1
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.ts(filets)1
4 files changed, 6 insertions, 0 deletions
diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters
index 217e32ed5..998c8af83 100644
--- a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters
@@ -48,6 +48,7 @@
#Import(File.rc)#
#Import(File.ui)#
#Import(File.qrc)#
+#Import(File.ts)#
</ItemGroup>
<Import Condition="Exists('$(MSBuildThisFileDirectory)\Xmake.Custom.files.filters')"
Project="$(MSBuildThisFileDirectory)\Xmake.Custom.files.filters" />
diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.ts(filets) b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.ts(filets)
new file mode 100644
index 000000000..9aee25191
--- /dev/null
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.ts(filets)
@@ -0,0 +1,3 @@
+ <None Include="#path#">
+ <Filter>#dir#</Filter>
+ </None>
diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj
index 40b594b18..1918f4997 100644
--- a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj
@@ -48,6 +48,7 @@
#Import(File.rc)#
#Import(File.ui)#
#Import(File.qrc)#
+#Import(File.ts)#
</ItemGroup>
<!-- <ItemGroup>
#Import(ProjectRef)#
diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.ts(filets) b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.ts(filets)
new file mode 100644
index 000000000..6429fe3e9
--- /dev/null
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.ts(filets)
@@ -0,0 +1 @@
+ <None Include="#path#" />