diff options
| author | ruki <[email protected]> | 2022-06-25 16:36:19 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-25 16:36:19 +0800 |
| commit | daa92cca11d91249ae2fa536d4988174c1b0a014 (patch) | |
| tree | 23cb0a48a460e7ee51df5b0b095afb80e9ef6b38 | |
| parent | 55d5c38b294b2436c7df97be0af9511231ae617e (diff) | |
| parent | 497320e50a9c971e3b9945643638831069f849b2 (diff) | |
Merge pull request #2493 from Domain/sln
more sln file standards compliant
| -rw-r--r-- | xmake/plugins/project/vsxmake/vsproj/templates/sln/ProjConfig(target,mode,arch) | 4 | ||||
| -rw-r--r-- | xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln | 28 |
2 files changed, 16 insertions, 16 deletions
diff --git a/xmake/plugins/project/vsxmake/vsproj/templates/sln/ProjConfig(target,mode,arch) b/xmake/plugins/project/vsxmake/vsproj/templates/sln/ProjConfig(target,mode,arch) index 7b41e11bc..20ed12788 100644 --- a/xmake/plugins/project/vsxmake/vsproj/templates/sln/ProjConfig(target,mode,arch) +++ b/xmake/plugins/project/vsxmake/vsproj/templates/sln/ProjConfig(target,mode,arch) @@ -1,2 +1,2 @@ - {#target_id#}.#mode#|#arch#.ActiveCfg = #mode#|#vsarch# -@default=true; {#target_id#}.#mode#|#arch#.Build.0 = #mode#|#vsarch#@ + {#target_id#}.#mode#|#arch#.ActiveCfg = #mode#|#vsarch#@default=true; + {#target_id#}.#mode#|#arch#.Build.0 = #mode#|#vsarch#@ diff --git a/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln b/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln index 636f59909..49bbcd708 100644 --- a/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln +++ b/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln @@ -1,4 +1,4 @@ -Microsoft Visual Studio Solution File, Format Version #solution_version#.0 +Microsoft Visual Studio Solution File, Format Version #solution_version#.00 # Visual Studio Version #vs_version# # # #xmake_info# @@ -9,7 +9,7 @@ Microsoft Visual Studio Solution File, Format Version #solution_version#.0 # See https://github.com/xmake-io/xmake/pull/472 for more infomation. # VisualStudioVersion = #vs_version# -MinimumVisualStudioVersion = 10.0 +MinimumVisualStudioVersion = 10.0.40219.1 #Import(Project)# #Import(ProjectGroup)# Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Properties", "Properties", "{007754BD-BB1F-452F-A0D8-13EF216C5ED9}" @@ -20,16 +20,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Properties", "Properties", EndProjectSection EndProject Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution -#Import(SlnConfig)# EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution -#Import(ProjConfig)# EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution -#Import(ProjectGroupConfig)# EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {#solution_id#} - EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution +#Import(SlnConfig)# EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution +#Import(ProjConfig)# EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution +#Import(ProjectGroupConfig)# EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {#solution_id#} + EndGlobalSection EndGlobal |
