Skip to content

Commit df25fe9

Browse files
committed
Work on editors PCH
1 parent 20302a8 commit df25fe9

File tree

12 files changed

+24
-11
lines changed

12 files changed

+24
-11
lines changed

src/editors/ActorEditor/stdafx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#pragma once
22

3+
#include "Common/Common.hpp"
4+
35
#pragma warn - pck
46

57
#define sqrtf(a) sqrt(a)

src/editors/ECore/ECore.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
<ClInclude Include="Engine\nv_math.h" />
186186
<ClInclude Include="Engine\nv_mathdecl.h" />
187187
<ClInclude Include="Engine\Texture.h" />
188+
<ClInclude Include="stdafx.h" />
188189
</ItemGroup>
189190
<ItemGroup>
190191
<ClCompile Include="Editor\bone.cpp" />
@@ -262,6 +263,7 @@
262263
<ClCompile Include="Engine\Image.cpp" />
263264
<ClCompile Include="Engine\NVMeshMender.cpp" />
264265
<ClCompile Include="Engine\nv_algebra.cpp" />
266+
<ClCompile Include="stdafx.cpp" />
265267
</ItemGroup>
266268
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
267269
<ImportGroup Label="ExtensionTargets">

src/editors/ECore/ECore.vcxproj.filters

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
<ClInclude Include="Engine\Texture.h">
176176
<Filter>engine</Filter>
177177
</ClInclude>
178+
<ClInclude Include="stdafx.h" />
178179
</ItemGroup>
179180
<ItemGroup>
180181
<ClCompile Include="Editor\bone.cpp">
@@ -375,5 +376,6 @@
375376
<ClCompile Include="Engine\NVMeshMender.cpp">
376377
<Filter>engine</Filter>
377378
</ClCompile>
379+
<ClCompile Include="stdafx.cpp" />
378380
</ItemGroup>
379381
</Project>

src/editors/ECore/stdafx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#pragma once
22

3+
#include "Common/Common.hpp"
4+
35
#pragma warn - pck
46

57
#define sqrtf(a) sqrt(a)

src/editors/LevelEditor/LevelEditor.vcxproj.filters

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@
142142
<ClInclude Include="Splash.h">
143143
<Filter>Source Files</Filter>
144144
</ClInclude>
145-
<ClInclude Include="stdafx.h">
146-
<Filter>Source Files</Filter>
147-
</ClInclude>
148145
<ClInclude Include="TopBar.h">
149146
<Filter>Source Files</Filter>
150147
</ClInclude>
@@ -325,6 +322,7 @@
325322
<ClInclude Include="Edit\SceneSummaryInfo.h">
326323
<Filter>Scene</Filter>
327324
</ClInclude>
325+
<ClInclude Include="stdafx.h" />
328326
</ItemGroup>
329327
<ItemGroup>
330328
<ClCompile Include="BottomBar.cpp">
@@ -432,9 +430,6 @@
432430
<ClCompile Include="Splash.cpp">
433431
<Filter>Source Files</Filter>
434432
</ClCompile>
435-
<ClCompile Include="stdafx.cpp">
436-
<Filter>Source Files</Filter>
437-
</ClCompile>
438433
<ClCompile Include="TopBar.cpp">
439434
<Filter>Source Files</Filter>
440435
</ClCompile>
@@ -720,6 +715,7 @@
720715
<ClCompile Include="Edit\SceneUtil.cpp">
721716
<Filter>Scene</Filter>
722717
</ClCompile>
718+
<ClCompile Include="stdafx.cpp" />
723719
</ItemGroup>
724720
<ItemGroup>
725721
<None Include="LevelEditor.todo" />

src/editors/LevelEditor/stdafx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#pragma once
22

3+
#include "Common/Common.hpp"
4+
35
#pragma warn - pck
46

57
#define sqrtf(a) sqrt(a)

src/editors/PPEditor/stdafx.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#define ENGINE_API
1+
#pragma once
2+
3+
#define NO_ENGINE_API
4+
#include "Common/Common.hpp"
5+
26
#include <xrCore/xrCore.h>
37
#include "PostprocessAnimator.h"
48
#include <vcl.h>

src/editors/ParticleEditor/stdafx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#ifndef stdafxH
55
#define stdafxH
66

7+
#include "Common/Common.hpp"
8+
79
#pragma once
810

911
#pragma warn - pck

src/editors/ShaderEditor/stdafx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#pragma once
22

3+
#include "Common/Common.hpp"
4+
35
#pragma warn - pck
46

57
#define sqrtf(a) sqrt(a)

src/editors/xrEProps/stdafx.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#pragma once
22

3+
#define NO_ENGINE_API
4+
#include "Common/Common.hpp"
5+
36
#include <xrCore/xrCore.h>
47

58
#define smart_cast dynamic_cast
@@ -14,8 +17,6 @@ class MODEL;
1417

1518
#include "FolderLib.h"
1619

17-
#include "Common/Platform.hpp"
18-
1920
#define ENGINE_API
2021
#define DLL_API XR_IMPORT
2122
#define ECORE_API XR_EXPORT

0 commit comments

Comments
 (0)