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
Change project name to HPX #1682
Conversation
Lots of CMake changes: Use HPX_PACKAGE_NAME for install paths where appropriate Replace hpx_SOURCE_DIR with PROJECT_SOURCE_DIR Replace hpx_BINARY_DIR with PROJECT_BINARY_DIR This should allow one to change the project name and have most install/find rules remain working. A number of hardcoded filenames of type hpx_XXXX have been left unchanged
LGTM |
Should we add an inspect checker tool which verifies that hpx_SOURCE_DIR is not being used anywhere to avoid these things in the future? What other automatic checks can we add? |
On 07/22/2015 03:11 PM, Hartmut Kaiser wrote:
It is a potential breaking change for scripts that set HPX_DIR directly It would be interesting if we can avoid the |
I don't think you need to check for hpx_SOURCE_DIR, I did a full search/replace in the tree and if anyone used it, it would resolve to an empty string and be noticed immediately. As for HPX_DIR, I have posted an email to the user list with instructions on what to do. |
I think that even it is a breaking change, we should go ahead with this. The only remark I have is that we need a note about this in the docs (see: https://github.com/STEllAR-GROUP/hpx/blob/master/docs/whats_new.qbk#L55). Could you please add that? |
And adapt the docs to advocate CMAKE_PREFIX_PATH |
Where in the docs should that go? |
I've updated the docs (though I'm not sure about the markup/formatting, so apologies if it looks wrong) |
Lots of CMake changes:
Use HPX_PACKAGE_NAME for install paths where appropriate
Replace hpx_SOURCE_DIR with PROJECT_SOURCE_DIR
Replace hpx_BINARY_DIR with PROJECT_BINARY_DIR
This should allow one to change the project name and have most
install/find rules remain working.
A number of hardcoded filenames of type hpx_XXXX have been left unchanged