-
Notifications
You must be signed in to change notification settings - Fork 32
Remove unused CMake variable AXOM_ENABLE_CORE #1776
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
Conversation
|
The point of that was to error if someone tried to turn off Core. It wasnt creating the variable. |
I tried to manually enable core and hit this error. Maybe we could keep the variable but only error if somebody actually turns it off? |
|
Here is where it is not created: axom/src/cmake/AxomMacros.cmake Lines 102 to 106 in 4b274b0
We could change the check to see if it is defined and set to OFF, but we should not removed the error check. |
that's what I was thinking |
white238
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update if to include allowing users to set it to ON, though mildly pointless. Dont remove helpful error message.
Pointless, yes. But some people may find it cathartic.... 😄 |
Gotcha, adjusted. |
kennyweiss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a reasonable change.
I'll echo @white238's comments that core cannot be disabled, but I suppose it's harmless to manually enable it
This PR:
AXOM_ENABLE_COREThis variable was noticed by @johnbowen42 while testing Axom builds.
The variable is only defined here and not used anywhere else in the CMake build.The variable is only mentioned here and not anywhere else in the CMake build.