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

Feature/cmake export targets #238

Merged
merged 23 commits into from
Oct 2, 2023
Merged

Feature/cmake export targets #238

merged 23 commits into from
Oct 2, 2023

Conversation

ldowen
Copy link
Collaborator

@ldowen ldowen commented Sep 19, 2023

Summary

  • This PR is a feature for properly exporting CMake targets
  • It does the following:
    • Provides First Class Project support for CMake,
    • Spheral and its dependencies are exported to allow the use of find_package for importing into another project.

ToDo :

  • Annotate RELEASE_NOTES.md with notable changes.
  • Create LLNLSpheral PR pointing at this branch. (PR#58)
  • LLNLSpheral PR has passed all tests.

…d lib to directory to INSTALL_RPATH for CXX targets
…d added variable for setting a separate install location for it, add a build-dir option to host-config-build.py
.gitmodules Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
cmake/InstallTPLs.cmake Outdated Show resolved Hide resolved
cmake/InstallTPLs.cmake Outdated Show resolved Hide resolved
cmake/InstallTPLs.cmake Outdated Show resolved Hide resolved
src/CMakeLists.txt Outdated Show resolved Hide resolved
src/CMakeLists.txt Outdated Show resolved Hide resolved
src/CXXTests/CMakeLists.txt Outdated Show resolved Hide resolved
cmake/spheral_cxx-config.cmake.in Show resolved Hide resolved
cmake/spheral_cxx-config.cmake.in Outdated Show resolved Hide resolved
cmake/InstallTPLs.cmake Outdated Show resolved Hide resolved
src/CMakeLists.txt Outdated Show resolved Hide resolved
src/CMakeLists.txt Outdated Show resolved Hide resolved
cmake/SetupSpheral.cmake Outdated Show resolved Hide resolved
…ame as input, added variable name input for these function calls, moved the install and export calls into the TPL function, merged lists for source CMakeList.txt
mdavis36
mdavis36 previously approved these changes Sep 29, 2023
Copy link
Collaborator

@mdavis36 mdavis36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to go for me, a lot of good improvements to our build system here and I'm sure our users will appreciate the export targets for their own build systems. If you could fill out some information about the changes made here in the PR description and in RELEASE_NOTES then once tests pass in LLNLSpheral with this commit we can merge.

@jmikeowen may want to take a pass at this too.

jmikeowen
jmikeowen previously approved these changes Sep 29, 2023
Copy link
Collaborator

@jmikeowen jmikeowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, looks good to go to me.

@ldowen ldowen dismissed stale reviews from jmikeowen and mdavis36 via b2a4f13 September 29, 2023 18:37
Copy link
Collaborator

@jmikeowen jmikeowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go

@ldowen ldowen merged commit daece81 into develop Oct 2, 2023
1 check passed
@ldowen ldowen deleted the feature/cmake_export_targets branch October 2, 2023 17:16
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.

3 participants