blob: 04a16e01fbb5d592396b984d01e7916863daf894 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<% eol = "\r\n" %>
Microsoft Visual Studio Solution File, Format Version 8.00
<% for prj in premake.eachproject(this) do %>
Project("{<%=_VS.tool(prj)%>}") = "<%=prj.name%>", "<%=path.translate(path.getrelative(this.location, _VS.projectfile(prj)))%>", "{<%=prj.uuid%>}"
<% local deps = premake.getdependencies(prj); if #deps > 0 then %>
ProjectSection(ProjectDependencies) = postProject
<% for _,dep in ipairs(deps) do %>
{<%= dep.uuid %>} = {<%= dep.uuid %>}
<% end %>
EndProjectSection
<% end %>
EndProject
<% end %>
Global
GlobalSection(SolutionConfiguration) = preSolution
<% for i,cfgname in ipairs(this.configurations) do %>
<%= cfgname %> = <%= cfgname %>
<% end %>
EndGlobalSection
GlobalSection(ProjectDependencies) = postSolution
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
<% for prj in premake.eachproject(this) do %>
<% for i,cfgname in ipairs(this.configurations) do %>
{<%=prj.uuid%>}.<%=cfgname%>.ActiveCfg = <%=cfgname%>|<%=_VS.arch(prj)%>
{<%=prj.uuid%>}.<%=cfgname%>.Build.0 = <%=cfgname%>|<%=_VS.arch(prj)%>
<% end %>
<% end %>
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
|