Skip to content

Commit

Permalink
Work on editors PCH
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Jan 24, 2018
1 parent 20302a8 commit df25fe9
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 11 deletions.
2 changes: 2 additions & 0 deletions src/editors/ActorEditor/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include "Common/Common.hpp"

#pragma warn - pck

#define sqrtf(a) sqrt(a)
Expand Down
2 changes: 2 additions & 0 deletions src/editors/ECore/ECore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
<ClInclude Include="Engine\nv_math.h" />
<ClInclude Include="Engine\nv_mathdecl.h" />
<ClInclude Include="Engine\Texture.h" />
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Editor\bone.cpp" />
Expand Down Expand Up @@ -262,6 +263,7 @@
<ClCompile Include="Engine\Image.cpp" />
<ClCompile Include="Engine\NVMeshMender.cpp" />
<ClCompile Include="Engine\nv_algebra.cpp" />
<ClCompile Include="stdafx.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down
2 changes: 2 additions & 0 deletions src/editors/ECore/ECore.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
<ClInclude Include="Engine\Texture.h">
<Filter>engine</Filter>
</ClInclude>
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Editor\bone.cpp">
Expand Down Expand Up @@ -375,5 +376,6 @@
<ClCompile Include="Engine\NVMeshMender.cpp">
<Filter>engine</Filter>
</ClCompile>
<ClCompile Include="stdafx.cpp" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions src/editors/ECore/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include "Common/Common.hpp"

#pragma warn - pck

#define sqrtf(a) sqrt(a)
Expand Down
8 changes: 2 additions & 6 deletions src/editors/LevelEditor/LevelEditor.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@
<ClInclude Include="Splash.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="stdafx.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="TopBar.h">
<Filter>Source Files</Filter>
</ClInclude>
Expand Down Expand Up @@ -325,6 +322,7 @@
<ClInclude Include="Edit\SceneSummaryInfo.h">
<Filter>Scene</Filter>
</ClInclude>
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="BottomBar.cpp">
Expand Down Expand Up @@ -432,9 +430,6 @@
<ClCompile Include="Splash.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="stdafx.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="TopBar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -720,6 +715,7 @@
<ClCompile Include="Edit\SceneUtil.cpp">
<Filter>Scene</Filter>
</ClCompile>
<ClCompile Include="stdafx.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="LevelEditor.todo" />
Expand Down
2 changes: 2 additions & 0 deletions src/editors/LevelEditor/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include "Common/Common.hpp"

#pragma warn - pck

#define sqrtf(a) sqrt(a)
Expand Down
6 changes: 5 additions & 1 deletion src/editors/PPEditor/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#define ENGINE_API
#pragma once

#define NO_ENGINE_API
#include "Common/Common.hpp"

#include <xrCore/xrCore.h>
#include "PostprocessAnimator.h"
#include <vcl.h>
Expand Down
2 changes: 2 additions & 0 deletions src/editors/ParticleEditor/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#ifndef stdafxH
#define stdafxH

#include "Common/Common.hpp"

#pragma once

#pragma warn - pck
Expand Down
2 changes: 2 additions & 0 deletions src/editors/ShaderEditor/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include "Common/Common.hpp"

#pragma warn - pck

#define sqrtf(a) sqrt(a)
Expand Down
5 changes: 3 additions & 2 deletions src/editors/xrEProps/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#pragma once

#define NO_ENGINE_API
#include "Common/Common.hpp"

#include <xrCore/xrCore.h>

#define smart_cast dynamic_cast
Expand All @@ -14,8 +17,6 @@ class MODEL;

#include "FolderLib.h"

#include "Common/Platform.hpp"

#define ENGINE_API
#define DLL_API XR_IMPORT
#define ECORE_API XR_EXPORT
Expand Down
1 change: 0 additions & 1 deletion src/editors/xrManagedApi/Pch.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#pragma once
#include "Common/Platform.hpp"
#include "Common/Common.hpp"
1 change: 0 additions & 1 deletion src/editors/xrWeatherEditor/pch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#pragma once

#pragma managed(push, off)
#include "Common/Platform.hpp"
#include "Common/Common.hpp"
#include "xrCommon/inlining_macros.h"
#include "xrCore/xrstring.h"
Expand Down

0 comments on commit df25fe9

Please sign in to comment.