summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-16 14:21:09 +0800
committerOpportunityLiu <[email protected]>2019-07-16 14:21:09 +0800
commit89baf2ecdca1fb8bd25c449b3f3b05b47706377d (patch)
tree308358ee5483f6f5ca6d5c4f90c5e9642d8e85bc
parent0566af6ff1659597f1bf597e2762a15dbc680257 (diff)
fix sln
-rw-r--r--tests/plugins/project/test.lua6
-rw-r--r--xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln6
2 files changed, 5 insertions, 7 deletions
diff --git a/tests/plugins/project/test.lua b/tests/plugins/project/test.lua
index 16a27b5f3..32fffd33c 100644
--- a/tests/plugins/project/test.lua
+++ b/tests/plugins/project/test.lua
@@ -40,11 +40,11 @@ function test_vsxmake(t)
if ok then
return
end
- io.write("--- sln file ---")
+ io.write("--- sln file ---\n")
io.write(io.readfile("c_" .. vstype .. ".sln"), "\n")
- io.write("--- vcx file ---")
+ io.write("--- vcx file ---\n")
io.write(io.readfile("project/project.vcxproj"), "\n")
- io.write("--- filter file ---")
+ io.write("--- filter file ---\n")
io.write(io.readfile("project/project.vcxproj.filters"), "\n")
raise("msbuild failed")
end
diff --git a/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln b/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln
index bc2872afe..fa719dfff 100644
--- a/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln
+++ b/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln
@@ -20,11 +20,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Properties", "Properties",
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
-#Import(SlnConfig)#
- EndGlobalSection
+#Import(SlnConfig)# EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
-#Import(ProjConfig)#
- EndGlobalSection
+#Import(ProjConfig)# EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection