[SERVER-9563] Add support for a config.h header generated by SCons Configure checks. Created: 03/May/13 Updated: 19/Sep/15 Resolved: 27/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Jonathan Reams |
| Resolution: | Done | Votes: | 0 |
| Labels: | build-system-cleanup | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | BUILD 0 3/13/15, BUILD 1 04/03/15 |
| Participants: |
| Comments |
| Comment by Githook User [ 26/Mar/15 ] |
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 29/Jan/15 ] |
|
We have many configure check results or other preprocessor definitions that are copied onto every compile invocation, including third_party, where they are almost certainly not needed. We should migrate most of those into a generated config.h header (using SCons SubstFile mechanism), so that these preprocessor definitions are scoped narrowly to the relevant files. |