Skip to content

Only regenerate ROOT dictionaries when needed#261

Open
anthoak13 wants to merge 1 commit intoATTPC:developfrom
anthoak13:cmakeSelectiveROOT
Open

Only regenerate ROOT dictionaries when needed#261
anthoak13 wants to merge 1 commit intoATTPC:developfrom
anthoak13:cmakeSelectiveROOT

Conversation

@anthoak13
Copy link
Copy Markdown
Member

Previously, any change to any header would cause all ROOT dictionaries to be regenerated which can slow down compile time significantly. In addition any time cmake was reconfigured, even if not files were changed all the dictionaries would be regenerated.

This commit adds a stamp file to each dictionary which is updated with the last modification time of the headers used to generate the dictionary. It uses hashs to determine the last update time.

We also change how the headers are copied in to the build/include folder. Before they were added as dependencies, but now
they are just copied. This could mean that in some edge cases the headers are not copied unless cmake is reconfigured.

Previously, any change to any header would cause all ROOT dictionaries
to be regenerated which can slow down compile time significantly. In
addition any time cmake was reconfigured, even if not files were changed
all the dictionaries would be regenerated.

This commit adds a stamp file to each dictionary which is updated with
the last modification time of the headers used to generate the dictionary.
It uses hashs to determine the last update time.
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.

1 participant