Skip to content

Commit

Permalink
Avoid identically named source files - some build systems have proble…
Browse files Browse the repository at this point in the history
…ms with it, even if CMake have none (headermaps in XCode, shared intermediate folder in Visual Studio)
  • Loading branch information
Eugene Golushkov committed Dec 18, 2024
1 parent 75801f3 commit c5a01bc
Show file tree
Hide file tree
Showing 73 changed files with 67 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayAabb.inl"
#include "OgreArrayAabbC.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayMatrix4.inl"
#include "OgreArrayMatrix4C.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayMatrixAf4x3.inl"
#include "OgreArrayMatrixAf4x3C.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayQuaternion.inl"
#include "OgreArrayQuaternionC.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArraySphere.inl"
#include "OgreArraySphereC.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayVector2.inl"
#include "OgreArrayVector2C.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayVector3.inl"
#include "OgreArrayVector3C.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayVector4.inl"
#include "OgreArrayVector4C.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ namespace Ogre
};
} // namespace Ogre

#include "OgreBooleanMask.inl"
#include "OgreBooleanMaskC.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayAabb.inl"
#include "OgreArrayAabbNEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayMatrix4.inl"
#include "OgreArrayMatrix4NEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayMatrixAf4x3.inl"
#include "OgreArrayMatrixAf4x3NEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayQuaternion.inl"
#include "OgreArrayQuaternionNEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArraySphere.inl"
#include "OgreArraySphereNEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayVector2.inl"
#include "OgreArrayVector2NEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayVector3.inl"
#include "OgreArrayVector3NEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayVector4.inl"
#include "OgreArrayVector4NEON.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ namespace Ogre
};
} // namespace Ogre

#include "OgreBooleanMask.inl"
#include "OgreBooleanMaskNEON.inl"

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArrayAabb.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArrayAabb.h"
# include "SSE2/Double/OgreArrayAabbSSE2.h"
# else
# include "SSE2/Single/OgreArrayAabb.h"
# include "SSE2/Single/OgreArrayAabbSSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArrayAabb.h"
# include "NEON/Single/OgreArrayAabbNEON.h"
# endif
#else
# include "C/OgreArrayAabb.h"
# include "C/OgreArrayAabbC.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArrayMatrix4.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArrayMatrix4.h"
# include "SSE2/Double/OgreArrayMatrix4SSE2.h"
# else
# include "SSE2/Single/OgreArrayMatrix4.h"
# include "SSE2/Single/OgreArrayMatrix4SSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArrayMatrix4.h"
# include "NEON/Single/OgreArrayMatrix4NEON.h"
# endif
#else
# include "C/OgreArrayMatrix4.h"
# include "C/OgreArrayMatrix4C.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArrayMatrixAf4x3.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArrayMatrixAf4x3.h"
# include "SSE2/Double/OgreArrayMatrixAf4x3SSE2.h"
# else
# include "SSE2/Single/OgreArrayMatrixAf4x3.h"
# include "SSE2/Single/OgreArrayMatrixAf4x3SSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArrayMatrixAf4x3.h"
# include "NEON/Single/OgreArrayMatrixAf4x3NEON.h"
# endif
#else
# include "C/OgreArrayMatrixAf4x3.h"
# include "C/OgreArrayMatrixAf4x3C.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArrayQuaternion.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArrayQuaternion.h"
# include "SSE2/Double/OgreArrayQuaternionSSE2.h"
# else
# include "SSE2/Single/OgreArrayQuaternion.h"
# include "SSE2/Single/OgreArrayQuaternionSSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArrayQuaternion.h"
# include "NEON/Single/OgreArrayQuaternionNEON.h"
# endif
#else
# include "C/OgreArrayQuaternion.h"
# include "C/OgreArrayQuaternionC.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArraySphere.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArraySphere.h"
# include "SSE2/Double/OgreArraySphereSSE2.h"
# else
# include "SSE2/Single/OgreArraySphere.h"
# include "SSE2/Single/OgreArraySphereSSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArraySphere.h"
# include "NEON/Single/OgreArraySphereNEON.h"
# endif
#else
# include "C/OgreArraySphere.h"
# include "C/OgreArraySphereC.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArrayVector2.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArrayVector2.h"
# include "SSE2/Double/OgreArrayVector2SSE2.h"
# else
# include "SSE2/Single/OgreArrayVector2.h"
# include "SSE2/Single/OgreArrayVector2SSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArrayVector2.h"
# include "NEON/Single/OgreArrayVector2NEON.h"
# endif
#else
# include "C/OgreArrayVector2.h"
# include "C/OgreArrayVector2C.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArrayVector3.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArrayVector3.h"
# include "SSE2/Double/OgreArrayVector3SSE2.h"
# else
# include "SSE2/Single/OgreArrayVector3.h"
# include "SSE2/Single/OgreArrayVector3SSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArrayVector3.h"
# include "NEON/Single/OgreArrayVector3NEON.h"
# endif
#else
# include "C/OgreArrayVector3.h"
# include "C/OgreArrayVector3C.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreArrayVector4.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreArrayVector4.h"
# include "SSE2/Double/OgreArrayVector4SSE2.h"
# else
# include "SSE2/Single/OgreArrayVector4.h"
# include "SSE2/Single/OgreArrayVector4SSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreArrayVector4.h"
# include "NEON/Single/OgreArrayVector4NEON.h"
# endif
#else
# include "C/OgreArrayVector4.h"
# include "C/OgreArrayVector4C.h"
#endif

#endif
8 changes: 4 additions & 4 deletions OgreMain/include/Math/Array/OgreBooleanMask.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ THE SOFTWARE.

#if OGRE_CPU == OGRE_CPU_X86 && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# include "SSE2/Double/OgreBooleanMask.h"
# include "SSE2/Double/OgreBooleanMaskSSE2.h"
# else
# include "SSE2/Single/OgreBooleanMask.h"
# include "SSE2/Single/OgreBooleanMaskSSE2.h"
# endif
#elif OGRE_CPU == OGRE_CPU_ARM && OGRE_USE_SIMD == 1
# if OGRE_DOUBLE_PRECISION == 1
# error Double precision with SIMD on ARM is not supported
# else
# include "NEON/Single/OgreBooleanMask.h"
# include "NEON/Single/OgreBooleanMaskNEON.h"
# endif
#else
# include "C/OgreBooleanMask.h"
# include "C/OgreBooleanMaskC.h"
#endif

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayAabb.inl"
#include "OgreArrayAabbSSE2.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayMatrix4.inl"
#include "OgreArrayMatrix4SSE2.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayMatrixAf4x3.inl"
#include "OgreArrayMatrixAf4x3SSE2.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayQuaternion.inl"
#include "OgreArrayQuaternionSSE2.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArraySphere.inl"
#include "OgreArraySphereSSE2.inl"

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,6 @@ namespace Ogre

} // namespace Ogre

#include "OgreArrayVector2.inl"
#include "OgreArrayVector2SSE2.inl"

#endif
Loading

0 comments on commit c5a01bc

Please sign in to comment.