Skip to content

Commit bb48b48

Browse files
committed
premake with libs SDL2, SDl2_image, ImGui
1 parent 6a6fa89 commit bb48b48

9 files changed

+428
-460
lines changed

FlappyBird.sln

+18-25
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,34 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
4-
VisualStudioVersion = 17.9.34622.214
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BirdEngine", "proj-BirdEngine\BirdEngine.vcxproj", "{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}"
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FlappyBird", "proj-FlappyBird\FlappyBird.vcxproj", "{92D272B5-7E8A-B402-E791-8D5ED3684FF3}"
5+
ProjectSection(ProjectDependencies) = postProject
6+
{DCED76F7-C8A5-B844-31AD-91A01D845335} = {DCED76F7-C8A5-B844-31AD-91A01D845335}
7+
EndProjectSection
78
EndProject
8-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FlappyBird", "proj-FlappyBird\FlappyBird.vcxproj", "{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}"
9+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BirdEngine", "proj-BirdEngine\BirdEngine.vcxproj", "{DCED76F7-C8A5-B844-31AD-91A01D845335}"
910
EndProject
1011
Global
1112
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1213
Debug|x64 = Debug|x64
13-
Debug|x86 = Debug|x86
14+
Dist|x64 = Dist|x64
1415
Release|x64 = Release|x64
15-
Release|x86 = Release|x86
1616
EndGlobalSection
1717
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Debug|x64.ActiveCfg = Debug|x64
19-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Debug|x64.Build.0 = Debug|x64
20-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Debug|x86.ActiveCfg = Debug|Win32
21-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Debug|x86.Build.0 = Debug|Win32
22-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Release|x64.ActiveCfg = Release|x64
23-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Release|x64.Build.0 = Release|x64
24-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Release|x86.ActiveCfg = Release|Win32
25-
{9BD3D2DB-8CBC-4461-8C0C-560C62C2D7BB}.Release|x86.Build.0 = Release|Win32
26-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Debug|x64.ActiveCfg = Debug|x64
27-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Debug|x64.Build.0 = Debug|x64
28-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Debug|x86.ActiveCfg = Debug|Win32
29-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Debug|x86.Build.0 = Debug|Win32
30-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Release|x64.ActiveCfg = Release|x64
31-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Release|x64.Build.0 = Release|x64
32-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Release|x86.ActiveCfg = Release|Win32
33-
{494620BF-95DD-4AB6-89E7-9D4D21E38B2F}.Release|x86.Build.0 = Release|Win32
18+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Debug|x64.ActiveCfg = Debug|x64
19+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Debug|x64.Build.0 = Debug|x64
20+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Dist|x64.ActiveCfg = Dist|x64
21+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Dist|x64.Build.0 = Dist|x64
22+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Release|x64.ActiveCfg = Release|x64
23+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Release|x64.Build.0 = Release|x64
24+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Debug|x64.ActiveCfg = Debug|x64
25+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Debug|x64.Build.0 = Debug|x64
26+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Dist|x64.ActiveCfg = Dist|x64
27+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Dist|x64.Build.0 = Dist|x64
28+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Release|x64.ActiveCfg = Release|x64
29+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Release|x64.Build.0 = Release|x64
3430
EndGlobalSection
3531
GlobalSection(SolutionProperties) = preSolution
3632
HideSolutionNode = FALSE
3733
EndGlobalSection
38-
GlobalSection(ExtensibilityGlobals) = postSolution
39-
SolutionGuid = {C3EAAADC-5541-418E-8096-C9D4B7A2B1DB}
40-
EndGlobalSection
4134
EndGlobal

FlappyBirdSolution.sln

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FlappyBird", "proj-FlappyBird\FlappyBird.vcxproj", "{92D272B5-7E8A-B402-E791-8D5ED3684FF3}"
5+
ProjectSection(ProjectDependencies) = postProject
6+
{DCED76F7-C8A5-B844-31AD-91A01D845335} = {DCED76F7-C8A5-B844-31AD-91A01D845335}
7+
EndProjectSection
8+
EndProject
9+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BirdEngine", "proj-BirdEngine\BirdEngine.vcxproj", "{DCED76F7-C8A5-B844-31AD-91A01D845335}"
10+
EndProject
11+
Global
12+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
13+
Debug|x64 = Debug|x64
14+
Dist|x64 = Dist|x64
15+
Release|x64 = Release|x64
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Debug|x64.ActiveCfg = Debug|x64
19+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Debug|x64.Build.0 = Debug|x64
20+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Dist|x64.ActiveCfg = Dist|x64
21+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Dist|x64.Build.0 = Dist|x64
22+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Release|x64.ActiveCfg = Release|x64
23+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Release|x64.Build.0 = Release|x64
24+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Debug|x64.ActiveCfg = Debug|x64
25+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Debug|x64.Build.0 = Debug|x64
26+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Dist|x64.ActiveCfg = Dist|x64
27+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Dist|x64.Build.0 = Dist|x64
28+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Release|x64.ActiveCfg = Release|x64
29+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Release|x64.Build.0 = Release|x64
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
EndGlobal

aaaa.sln

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FlappyBird", "proj-FlappyBird\FlappyBird.vcxproj", "{92D272B5-7E8A-B402-E791-8D5ED3684FF3}"
5+
ProjectSection(ProjectDependencies) = postProject
6+
{DCED76F7-C8A5-B844-31AD-91A01D845335} = {DCED76F7-C8A5-B844-31AD-91A01D845335}
7+
EndProjectSection
8+
EndProject
9+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BirdEngine", "proj-BirdEngine\BirdEngine.vcxproj", "{DCED76F7-C8A5-B844-31AD-91A01D845335}"
10+
EndProject
11+
Global
12+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
13+
Debug|x64 = Debug|x64
14+
Dist|x64 = Dist|x64
15+
Release|x64 = Release|x64
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Debug|x64.ActiveCfg = Debug|x64
19+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Debug|x64.Build.0 = Debug|x64
20+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Dist|x64.ActiveCfg = Dist|x64
21+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Dist|x64.Build.0 = Dist|x64
22+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Release|x64.ActiveCfg = Release|x64
23+
{92D272B5-7E8A-B402-E791-8D5ED3684FF3}.Release|x64.Build.0 = Release|x64
24+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Debug|x64.ActiveCfg = Debug|x64
25+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Debug|x64.Build.0 = Debug|x64
26+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Dist|x64.ActiveCfg = Dist|x64
27+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Dist|x64.Build.0 = Dist|x64
28+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Release|x64.ActiveCfg = Release|x64
29+
{DCED76F7-C8A5-B844-31AD-91A01D845335}.Release|x64.Build.0 = Release|x64
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
EndGlobal

build.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ ProjectPrefix = "proj-"
33
EngineProjName = "BirdEngine"
44
GameProj = "FlappyBird"
55

6-
workspace "FlappyBird"
6+
workspace "FlappyBirdSolution"
77
architecture "x64"
88
configurations { "Debug", "Release", "Dist" }
9-
startproject "" .. GameProj
9+
startproject "FlappyBird"
1010

11-
include "" .. ProjectPrefix .. EngineProjName .. "/" .. "build-bird-engine.lua"
12-
include "" .. ProjectPrefix .. GameProj .. "/" .. "build-flappy-bird.lua"
11+
include ("" .. ProjectPrefix .. EngineProjName .. "/" .. "build-bird-engine.lua")
12+
include ("" .. ProjectPrefix .. GameProj .. "/" .. "build-flappy-bird.lua")

0 commit comments

Comments
 (0)