Remove .cpp #includes

It is cleaner to not do that and just include the proper file in the
build files if needed.
This commit is contained in:
Bim Overbohm 2013-05-14 21:54:47 +02:00
parent e8472581fa
commit acba3bd258
3 changed files with 7 additions and 8 deletions

View file

@ -85,6 +85,7 @@
<ClCompile Include="..\..\src\pugiXML\pugixml.cpp" />
<ClCompile Include="..\..\src\Renderer_draw_gl.cpp" />
<ClCompile Include="..\..\src\Renderer_init.cpp" />
<ClCompile Include="..\..\src\Renderer_init_sdlgl.cpp" />
<ClCompile Include="..\..\src\Sound.cpp" />
<ClCompile Include="..\..\src\SystemData.cpp" />
<ClCompile Include="..\..\src\Window.cpp" />

View file

@ -102,6 +102,9 @@
<ClCompile Include="..\..\src\platform.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\Renderer_init_sdlgl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\AudioManager.h">

View file

@ -1,12 +1,7 @@
#include "Renderer.h"
#include "platform.h"
#ifdef _RPI_
#include "Renderer_init_rpi.cpp"
#endif
#ifdef _DESKTOP_
#include "Renderer_init_sdlgl.cpp"
#endif
#include GLHEADER
#include "Font.h"
namespace Renderer
{