ogre-next
ogre-next copied to clipboard
Choose SIMD implementation at cmake time
A less drastic version of #157 (this doesn't delete proxy files or change folder structure). A motivating factor behind deleting the proxy files was to prevent multiple files having the same name so that ninja/vcpkg/Xcode would not complain, although this doesn't seem to be an issue anymore with the changes I've made.
This PR merges both the OGRE_SIMD_SSE2 and OGRE_SIMD_NEON flags into a single flag OGRE_SIMD, and CMake is now responsible for picking SSE2, NEON or C.
Ah! I forgot that was the problem.
It IS acceptable to rename each implementation-specific file (e.g. append a suffix) so that naming becomes unique.
Not completely related, but would it be ok to rename:
OgreMain/include/Animation/OgreTagPoint.h
to
OgreMain/include/Animation/OgreTagPoint2.h
This seems to be the convention used for other files and would resolve conflicting names with the file:
OgreMain/include/OgreTagPoint.h