Skip to content

Commit

Permalink
Update vcxproj to allow for x64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Axanery committed Jun 25, 2024
1 parent 4959089 commit 0a0ea4f
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 5 deletions.
15 changes: 13 additions & 2 deletions VisualC/HatchGameEngine.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<IncludePath>$(SolutionDir)..\meta\win\include;$(SolutionDir)..\include;$(SolutionDir)..\source;$(IncludePath)</IncludePath>
<LibraryPath>$(SolutionDir)..\meta\win\lib\msvc\x64;$(LibraryPath)</LibraryPath>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down Expand Up @@ -129,7 +130,8 @@ CD ..</Command>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PreprocessorDefinitions>WIN32;TARGET_NAME="$(ProjectName)";GLEW_STATIC;USING_OPENGL;USING_FREETYPE;_DEBUG;_WINDOWS;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<PreBuildEvent>
<Command>CD "..\tools"
Expand All @@ -139,10 +141,15 @@ CD ..</Command>
<PostBuildEvent>
<Command>copy "$(TargetPath)" "$(SolutionDir)..\builds\win\$(TargetName)-Debug.exe"</Command>
</PostBuildEvent>
<Link>
<AdditionalDependencies>Ws2_32.lib;Wldap32.lib;Advapi32.lib;Crypt32.lib;Normaliz.lib;legacy_stdio_definitions.lib;glew32s.lib;opengl32.lib;freetype.lib;SDL2.lib;SDL2main.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PreprocessorDefinitions>WIN32;TARGET_NAME="$(ProjectName)";GLEW_STATIC;USING_OPENGL;USING_FREETYPE;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<PreBuildEvent>
<Command>CD "..\tools"
Expand All @@ -152,6 +159,10 @@ CD ..</Command>
<PostBuildEvent>
<Command>copy "$(TargetPath)" "$(SolutionDir)..\builds\win\$(TargetName)-Release.exe"</Command>
</PostBuildEvent>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>Ws2_32.lib;Wldap32.lib;Advapi32.lib;Crypt32.lib;Normaliz.lib;legacy_stdio_definitions.lib;glew32s.lib;opengl32.lib;freetype.lib;SDL2.lib;SDL2main.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\source\engine\Application.cpp" />
Expand Down
36 changes: 33 additions & 3 deletions VisualC/HatchGameEngine.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,36 @@
<ClCompile Include="..\source\Libraries\spng.c">
<Filter>Source Files\External Libs</Filter>
</ClCompile>
<ClCompile Include="..\source\engine\input\Controller.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\engine\math\Random.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\common\shapes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\advancing_front.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\cdt.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\sweep_context.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\sweep.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\clipper2\clipper.engine.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\clipper2\clipper.offset.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\clipper2\clipper.rectclip.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\include\engine\audio\AudioChannel.h">
Expand Down Expand Up @@ -464,9 +494,6 @@
<ClInclude Include="..\include\engine\resourcetypes\ResourceType.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\engine\scene\SceneConfig.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\engine\sprites\Animation.h">
<Filter>Header Files</Filter>
</ClInclude>
Expand Down Expand Up @@ -494,6 +521,9 @@
<ClInclude Include="..\source\Libraries\stb_vorbis.h">
<Filter>Source Files\External Libs</Filter>
</ClInclude>
<ClInclude Include="..\source\Libraries\spng.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\meta\win\icon.rc">
Expand Down
Binary file modified meta/win/lib/msvc/x64/SDL2.lib
Binary file not shown.
Binary file added meta/win/lib/msvc/x64/SDL2main.lib
Binary file not shown.
Binary file added meta/win/lib/msvc/x64/freetype.lib
Binary file not shown.

0 comments on commit 0a0ea4f

Please sign in to comment.