Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose SIMD implementation at cmake time #161

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

crjc
Copy link

@crjc crjc commented Dec 11, 2020

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.

@AllianceDarkSylinc
Copy link

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.

@crjc
Copy link
Author

crjc commented Dec 12, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants