If we define cmake macros that require a site config, and then undefine
all such macros, a stale site config header will be left behind.
Explicitly delete any generate site config if we don't need one to avoid
this.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 9286 Build 9286: arc lint + arc unit
Event Timeline
CMakeLists.txt | ||
---|---|---|
633 | Maybe print a warning or a message here? While it seems useful to re-configure and remove the stale header without requiring the user delete the build directory, it does seem like an odd thing to do, at least silently. Since this shouldn't be happening very often, I don't think it would be too noisy to explicitly warn the user what is going on. |
CMakeLists.txt | ||
---|---|---|
633 | Sounds good. |
Maybe print a warning or a message here? While it seems useful to re-configure and remove the stale header without requiring the user delete the build directory, it does seem like an odd thing to do, at least silently.
Since this shouldn't be happening very often, I don't think it would be too noisy to explicitly warn the user what is going on.