summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2026-07-08 21:49:56 +0800
committerGitHub <[email protected]>2026-07-08 21:49:56 +0800
commit03e4bc9076d6cd9e642f4a9c565c85757db72ce2 (patch)
treeb7ff177a4734ea7634cf739ea9b2deaa34b7674e /xmake/scripts
parent0a2255cc281327f60a53d321705f607ab3c72e8f (diff)
parent4e518789d0509056bbdcd9165af03ea8bbfebfb8 (diff)
Merge pull request #7629 from xmake-io/vsxmake
Improve custom source types in Solution Explorer
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters3
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.none(filenone)3
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj3
-rw-r--r--xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.none(filenone)1
4 files changed, 10 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 998c8af83..7d8131262 100644
--- a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters
@@ -50,6 +50,9 @@
#Import(File.qrc)#
#Import(File.ts)#
</ItemGroup>
+ <ItemGroup>
+#Import(File.none)#
+ </ItemGroup>
<Import Condition="Exists('$(MSBuildThisFileDirectory)\Xmake.Custom.files.filters')"
Project="$(MSBuildThisFileDirectory)\Xmake.Custom.files.filters" />
</Project>
diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.none(filenone) b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.none(filenone)
new file mode 100644
index 000000000..9aee25191
--- /dev/null
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.none(filenone)
@@ -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 21a7eb99a..a01ae9554 100644
--- a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj
@@ -52,6 +52,9 @@
#Import(File.qrc)#
#Import(File.ts)#
</ItemGroup>
+ <ItemGroup>
+#Import(File.none)#
+ </ItemGroup>
<!-- <ItemGroup>
#Import(ProjectRef)#
</ItemGroup> -->
diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.none(filenone) b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.none(filenone)
new file mode 100644
index 000000000..6429fe3e9
--- /dev/null
+++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.none(filenone)
@@ -0,0 +1 @@
+ <None Include="#path#" />