-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix for ROOT-8949 - cmake does not rebuild core dictionary when LinkDef1/2/3 changed #852
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
Conversation
…ef1/2/3.h file is changed
|
Starting build on |
cmake/modules/RootNewMacros.cmake
Outdated
| endif() | ||
| if(TARGET G__${library}) | ||
| add_dependencies(${library} G__${library}) | ||
| message("${library} --> G__${library}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Pere, maybe this line sneaked in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted! Thanks!
|
Starting build on |
|
It works for me, but do we really need such extra file (.stamp)? |
|
@linev The rebuilding is necessary, as all dictionaries depend on the Core one. |
|
@linev Do you care if an extra file is created in the build tree? We do create 3 files for each dictionary, this stamp file summarizes them for what concerns dependencies. |
Not at all - as long as everything works properly. |
|
Sorry for misleading typo in my previous comment. |
This is fix for ROOT-8949 following the suggestions from the CMake developers at https://gitlab.kitware.com/cmake/cmake/issues/16830