From 71733d1871e0eadcc6cd321b7f064596d57799ee Mon Sep 17 00:00:00 2001 From: Ratstail91 Date: Wed, 21 Jun 2023 03:19:27 +1000 Subject: [PATCH] Got airport working in MSVC --- Airport.sln | 58 +++++++++++++++++ Airport.vcxproj | 166 ++++++++++++++++++++++++++++++++++++++++++++++++ Box | 2 +- 3 files changed, 225 insertions(+), 1 deletion(-) create mode 100644 Airport.sln create mode 100644 Airport.vcxproj diff --git a/Airport.sln b/Airport.sln new file mode 100644 index 0000000..ee6bc06 --- /dev/null +++ b/Airport.sln @@ -0,0 +1,58 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.6.33801.468 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Airport", "Airport.vcxproj", "{B6819868-2E07-4E17-8B91-33E8B0D39530}" + ProjectSection(ProjectDependencies) = postProject + {26360002-CC2A-469A-9B28-BA0C1AF41657} = {26360002-CC2A-469A-9B28-BA0C1AF41657} + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA} = {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Toy", "Box\Toy\Toy.vcxproj", "{26360002-CC2A-469A-9B28-BA0C1AF41657}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Box", "Box\Box.vcxproj", "{2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}" + ProjectSection(ProjectDependencies) = postProject + {26360002-CC2A-469A-9B28-BA0C1AF41657} = {26360002-CC2A-469A-9B28-BA0C1AF41657} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Debug|x64.ActiveCfg = Debug|x64 + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Debug|x64.Build.0 = Debug|x64 + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Debug|x86.ActiveCfg = Debug|Win32 + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Debug|x86.Build.0 = Debug|Win32 + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Release|x64.ActiveCfg = Release|x64 + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Release|x64.Build.0 = Release|x64 + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Release|x86.ActiveCfg = Release|Win32 + {B6819868-2E07-4E17-8B91-33E8B0D39530}.Release|x86.Build.0 = Release|Win32 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Debug|x64.ActiveCfg = Debug|x64 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Debug|x64.Build.0 = Debug|x64 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Debug|x86.ActiveCfg = Debug|Win32 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Debug|x86.Build.0 = Debug|Win32 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Release|x64.ActiveCfg = Release|x64 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Release|x64.Build.0 = Release|x64 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Release|x86.ActiveCfg = Release|Win32 + {26360002-CC2A-469A-9B28-BA0C1AF41657}.Release|x86.Build.0 = Release|Win32 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Debug|x64.ActiveCfg = Debug|x64 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Debug|x64.Build.0 = Debug|x64 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Debug|x86.ActiveCfg = Debug|Win32 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Debug|x86.Build.0 = Debug|Win32 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Release|x64.ActiveCfg = Release|x64 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Release|x64.Build.0 = Release|x64 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Release|x86.ActiveCfg = Release|Win32 + {2937C4D3-5C8D-4E59-9B6D-452B409F4ABA}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {12EEBE9F-67EE-4103-B651-29C742B37A6C} + EndGlobalSection +EndGlobal diff --git a/Airport.vcxproj b/Airport.vcxproj new file mode 100644 index 0000000..580327c --- /dev/null +++ b/Airport.vcxproj @@ -0,0 +1,166 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {b6819868-2e07-4e17-8b91-33e8b0d39530} + Airport2 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)out\$(Configuration)\ + true + + + $(SolutionDir)out\$(Configuration)\ + true + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdc17 + $(SDL2Dir)\include;$(SDL2ImageDir)\include;$(SDL2TTFDir)\include;$(SolutionDir)Box/source;$(SolutionDir)Box/Toy/source;%(AdditionalIncludeDirectories) + + + Console + true + SDL2main.lib;SDL2.lib;SDL2_image.lib;SDL2_ttf.lib;Toy.lib;Box.lib;%(AdditionalDependencies) + $(SDL2Dir)\lib\x64;$(SDL2ImageDir)\lib\x64;$(SDL2TTFDir)\lib\x64;$(SolutionDir)out\$(Configuration)\;%(AdditionalLibraryDirectories) + $(OutDir)$(TargetName)$(TargetExt) + + + + xcopy "$(SDL2Dir)\lib\x64\SDL2.dll" "$(OutDir)" /Y /I /E +xcopy "$(SDL2ImageDir)\lib\x64\SDL2_image.dll" "$(OutDir)" /Y /I /E +xcopy "$(SDL2TTFDir)\lib\x64\SDL2_ttf.dll" "$(OutDir)" /Y /I /E + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdc17 + $(SDL2Dir)\include;$(SDL2ImageDir)\include;$(SDL2TTFDir)\include;$(SolutionDir)Box/source;$(SolutionDir)Box/Toy/source;%(AdditionalIncludeDirectories) + None + + + Windows + true + true + true + SDL2main.lib;SDL2.lib;SDL2_image.lib;SDL2_ttf.lib;Toy.lib;Box.lib;%(AdditionalDependencies) + $(SDL2Dir)\lib\x64;$(SDL2ImageDir)\lib\x64;$(SDL2TTFDir)\lib\x64;$(SolutionDir)out\$(Configuration)\;%(AdditionalLibraryDirectories) + $(OutDir)$(TargetName)$(TargetExt) + + + + xcopy "$(SDL2Dir)\lib\x64\SDL2.dll" "$(OutDir)" /Y /I /E +xcopy "$(SDL2ImageDir)\lib\x64\SDL2_image.dll" "$(OutDir)" /Y /I /E +xcopy "$(SDL2TTFDir)\lib\x64\SDL2_ttf.dll" "$(OutDir)" /Y /I /E + + + + + + + + + \ No newline at end of file diff --git a/Box b/Box index 63c7fde..3fb6a83 160000 --- a/Box +++ b/Box @@ -1 +1 @@ -Subproject commit 63c7fde56f18bf878931337e0f995feb53ea8f85 +Subproject commit 3fb6a8327bea373c3abc944f62ebf0cc6f306444