File tree Expand file tree Collapse file tree 11 files changed +19
-33
lines changed Expand file tree Collapse file tree 11 files changed +19
-33
lines changed Original file line number Diff line number Diff line change @@ -55,5 +55,4 @@ IC void cdelete(T*& ptr)
5555 }
5656}
5757
58- #define ENGINE_API
59- #include " opcode.h"
58+ #include " Opcode.h"
Original file line number Diff line number Diff line change 1414
1515#ifdef XRCDB_EXPORTS
1616#define XRCDB_API XR_EXPORT
17+ #define NO_ENGINE_API
1718#else
1819#define XRCDB_API XR_IMPORT
1920#endif
4445
4546#ifdef XRPHYSICS_EXPORTS
4647#define XRPHYSICS_API XR_EXPORT
48+ #define NO_ENGINE_API
4749#else
4850#define XRPHYSICS_API XR_IMPORT
4951#endif
5961#else
6062#define XRSOUND_API XR_IMPORT
6163#endif
64+
65+ #ifndef ENGINE_API
66+ #ifndef NO_ENGINE_API
67+ #ifdef ENGINE_BUILD
68+ #define DLL_API XR_IMPORT
69+ #define ENGINE_API XR_EXPORT
70+ #else
71+ #define DLL_API XR_EXPORT
72+ #define ENGINE_API XR_IMPORT
73+ #endif
74+ #else
75+ #define ENGINE_API
76+ #define DLL_API
77+ #endif // !NO_ENGINE_API
78+ #endif // !ENGINE_API
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ IC void cdelete(T*& ptr)
5555 }
5656}
5757
58- #define ENGINE_API
5958#include " OPCODE/Opcode.h"
6059
6160// {{AFX_INSERT_LOCATION}}
Original file line number Diff line number Diff line change 416416 <ReferenceOutputAssembly >false</ReferenceOutputAssembly >
417417 </ProjectReference >
418418 <ProjectReference Include =" ..\..\Externals\OPCODE\OPCODE.vcxproj" >
419- <Project >{bf40459f-302d-4128-a1b6-c965db90e7f0 }</Project >
419+ <Project >{dafd6d98-3dcd-40ad-bc85-ec71797b6767 }</Project >
420420 </ProjectReference >
421421 <ProjectReference Include =" ..\utils\xrMiscMath\xrMiscMath.vcxproj" >
422422 <Project >{7885cf3c-ee04-4c67-9467-1fbf9a36b037}</Project >
Original file line number Diff line number Diff line change 11#pragma once
22
3- // you must define ENGINE_BUILD then building the engine itself
4- // and not define it if you are about to build DLL
5-
6- #include " Engine_impexp.h"
73#include " engineAPI.h"
84#include " eventAPI.h"
95#include " xrSheduler.h"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 760760 <ClInclude Include =" EffectorPP.h" />
761761 <ClInclude Include =" Engine.h" />
762762 <ClInclude Include =" EngineAPI.h" />
763- <ClInclude Include =" Engine_impexp.h" />
764763 <ClInclude Include =" engine_impl.hpp" />
765764 <ClInclude Include =" EnnumerateVertices.h" />
766765 <ClInclude Include =" Environment.h" />
Original file line number Diff line number Diff line change 561561 <ClInclude Include =" profiler_inline.h" >
562562 <Filter >General\Profiler</Filter >
563563 </ClInclude >
564- <ClInclude Include =" Engine_impexp.h" />
565564 </ItemGroup >
566565 <ItemGroup >
567566 <ClCompile Include =" defines.cpp" >
Original file line number Diff line number Diff line change 33#define XRSHEDULER_H_INCLUDED
44
55// #include "ISheduled.h"
6- #include " Engine_impexp.h"
76class ISheduled ;
87
98class ENGINE_API CSheduler
Original file line number Diff line number Diff line change 44#include " Common/Common.hpp"
55
66#define MTL_EXPORT_API
7- #define ENGINE_API
8- #define DLL_API
97#define ECORE_API
108
119#include " xrCore/xrCore.h"
You can’t perform that action at this time.
0 commit comments