Updated VS project - works fine, but probably does not copy over all the needed DLLs during build (zlib, etc.).
parent
a3e703f8fc
commit
12b2eed290
|
@ -52,12 +52,14 @@
|
|||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>SDL2.lib;SDL2main.lib;opengl32.lib;glew32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>SDL2.lib;SDL2main.lib;opengl32.lib;glew32.lib;SDL2_image.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>xcopy /d /y "..\..\..\..\Dev\glew-1.11.0\bin\Release\Win32\glew32.dll" "$(OutDir)"
|
||||
xcopy /d /y "..\..\..\..\Dev\SDL2-2.0.3\lib\x86\SDL2.dll" "$(OutDir)"
|
||||
xcopy /d /y "..\..\..\..\Dev\SDL2-2.0.3\lib\x86\SDL2_image.dll" "$(OutDir)"
|
||||
xcopy /d /y "..\..\..\..\Dev\SDL2-2.0.3\lib\x86\libpng16-16.dll" "$(OutDir)"
|
||||
xcopy /s /e /d /y "..\..\data" "$(OutDir)data\"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
|
@ -97,6 +99,7 @@ xcopy /s /e /d /y "..\..\data" "$(OutDir)data\"</Command>
|
|||
<ClCompile Include="..\..\src\RenderView.cpp" />
|
||||
<ClCompile Include="..\..\src\states\MenuState.cpp" />
|
||||
<ClCompile Include="..\..\src\states\TestState.cpp" />
|
||||
<ClCompile Include="..\..\src\Texture.cpp" />
|
||||
<ClCompile Include="..\..\src\Vec.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -108,6 +111,9 @@ xcopy /s /e /d /y "..\..\data" "$(OutDir)data\"</Command>
|
|||
<None Include="..\..\..\..\Dev\SDL2-2.0.3\lib\x86\SDL2.dll">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</None>
|
||||
<None Include="..\..\..\..\Dev\SDL2-2.0.3\lib\x86\SDL2_image.dll">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</None>
|
||||
<None Include="..\..\data\shaders\default_fs.glsl" />
|
||||
<None Include="..\..\data\shaders\default_vs.glsl" />
|
||||
<None Include="..\..\data\shaders\fb_fs.glsl" />
|
||||
|
@ -137,6 +143,7 @@ xcopy /s /e /d /y "..\..\data" "$(OutDir)data\"</Command>
|
|||
<ClInclude Include="..\..\src\State.hpp" />
|
||||
<ClInclude Include="..\..\src\states\MenuState.hpp" />
|
||||
<ClInclude Include="..\..\src\states\TestState.hpp" />
|
||||
<ClInclude Include="..\..\src\Texture.hpp" />
|
||||
<ClInclude Include="..\..\src\Vec.hpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
|
|
@ -99,6 +99,9 @@
|
|||
<ClCompile Include="..\..\src\gui\GuiElement.cpp">
|
||||
<Filter>Classes\Gui</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\Texture.cpp">
|
||||
<Filter>Classes</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\..\..\Dev\SDL2-2.0.3\lib\x86\SDL2.dll">
|
||||
|
@ -119,6 +122,9 @@
|
|||
<None Include="..\..\data\shaders\default_vs.glsl">
|
||||
<Filter>Build Copy\data\shaders</Filter>
|
||||
</None>
|
||||
<None Include="..\..\..\..\Dev\SDL2-2.0.3\lib\x86\SDL2_image.dll">
|
||||
<Filter>Build Copy</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\RenderCamera.hpp">
|
||||
|
@ -193,5 +199,8 @@
|
|||
<ClInclude Include="..\..\src\gui\GuiElement.hpp">
|
||||
<Filter>Classes\Gui</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\Texture.hpp">
|
||||
<Filter>Classes</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue