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

Add some quality-of-life CMake defaults #847

Merged
merged 5 commits into from
Jul 12, 2023

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Jul 10, 2023

This cleans up some of the main configuration logic a bit and adds a few default cmake variables that @drbenmorgan had added to the VecGeom configuration in the past.

One other small change is that I've removed BUILD_SHARED_LIBS as a cache variable since it's really a CMake global variable that sets default target properties. Like the other such cmake variables, we set it as a default value (so it affects stuff inside the celeritas dir) but not as a cache value (where it would affect the parent project if Celeritas is being built inside something else).

@sethrj sethrj added core Software engineering infrastructure minor Minor internal changes or fixes (including CI updates) labels Jul 10, 2023
@sethrj sethrj requested a review from pcanal July 10, 2023 12:43
CMakeLists.txt Outdated Show resolved Hide resolved
cmake/CeleritasUtils.cmake Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
@sethrj sethrj requested a review from pcanal July 12, 2023 15:07
Copy link
Contributor

@pcanal pcanal left a comment

Choose a reason for hiding this comment

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

LGTM.

@sethrj
Copy link
Member Author

sethrj commented Jul 12, 2023

CI failures are due to some disk issues on the CI end, not something we have to worry about.

@sethrj sethrj merged commit b427fde into celeritas-project:develop Jul 12, 2023
1 check failed
@sethrj sethrj deleted the neato-cmake-vars branch July 12, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Software engineering infrastructure minor Minor internal changes or fixes (including CI updates)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants