[SERVER-55833] Create a forceincludes scons tool Created: 06/Apr/21 Updated: 29/Oct/23 Resolved: 05/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Dev Platform 2021-05-17 | ||||||||
| Participants: | |||||||||
| Description |
|
All of the compilers we use offer a means to force the inclusion of a header: MSVC has /FI and GCC/clang offer -include. We can produce a SCons tool to automate injecting a forced header correctly based on toolchain, and to also inject the necessary dependency edges to ensure that targets are rebuilt when the force included header changes, since the normal scons implicit dependency scanning will not note the dependency. |
| Comments |
| Comment by Githook User [ 05/May/21 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |