Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rearrange optional compilation flag#374

Merged
tdealtry merged 11 commits intoWCSim:developfrom
gondiaz:flag
Oct 4, 2023
Merged

Rearrange optional compilation flag#374
tdealtry merged 11 commits intoWCSim:developfrom
gondiaz:flag

Conversation

@gondiaz
Copy link
Contributor

@gondiaz gondiaz commented Sep 7, 2023

To install WCSim dependent packages the WCSIM_CHECK_GEOMETRY_OVERLAPS need to be accesible.
This is done by setting the variable in the WCSimConfig.cmake via its WCSimConfig.cmake.in template when WCSim is installed.
To do that, we need to move the definition of WCSim_Geometry_Overlaps_CHECK to the higher hierarchy CMakeLists file from the its previous definition at the src subdirectory.

Copy link
Contributor

@tdealtry tdealtry left a comment

Choose a reason for hiding this comment

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

Thanks for this @gondiaz Just a few comments

@guiguem
Copy link
Contributor

guiguem commented Sep 19, 2023

I just added the WCSimCore library into the list of produced libraries. This should ease the importation and linkage of these two libraries into subsequent libraries via CMake

@tdealtry
Copy link
Contributor

tdealtry commented Oct 4, 2023

Thanks for the new commits @gondiaz. From your side, are there any extra things you want to put into this PR?

From my side, there's 3 outstanding things I'd like before I can merge this (don't worry, 2 are trivial)

  • Typo in CMakeLists.txt. See the suggestion above
  • Can you add .vscode/ to the .gitignore? This will stop people accidentally commiting such files that you're removing again
  • I've verifyed that the cosmics generator is broken, because the cosmics file is never loaded & the histograms never created (i.e. the if (useCosmics) block is never run). See the conversation above for why, and for a suggested way around this

@gondiaz
Copy link
Contributor Author

gondiaz commented Oct 4, 2023

Done, as for the .vscode directory it was already included in the .gitignore.

@tdealtry
Copy link
Contributor

tdealtry commented Oct 4, 2023

The auto checks are happy, and I verfied that the cosmics are happy, so I'm happy. Thanks for this @gondiaz!

@tdealtry tdealtry merged commit cdeb339 into WCSim:develop Oct 4, 2023
@gondiaz gondiaz deleted the flag branch October 5, 2023 07:48
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