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\pugiXML\pugixml.cpp" />
<ClCompile Include="..\..\src\Renderer_draw_gl.cpp" /> <ClCompile Include="..\..\src\Renderer_draw_gl.cpp" />
<ClCompile Include="..\..\src\Renderer_init.cpp" /> <ClCompile Include="..\..\src\Renderer_init.cpp" />
<ClCompile Include="..\..\src\Renderer_init_sdlgl.cpp" />
<ClCompile Include="..\..\src\Sound.cpp" /> <ClCompile Include="..\..\src\Sound.cpp" />
<ClCompile Include="..\..\src\SystemData.cpp" /> <ClCompile Include="..\..\src\SystemData.cpp" />
<ClCompile Include="..\..\src\Window.cpp" /> <ClCompile Include="..\..\src\Window.cpp" />

View file

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

View file

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