[SERVER-38289] Teach SCons about .idl files Created: 28/Nov/18 Updated: 29/Oct/23 Resolved: 22/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0, 4.4.2 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Daniel Moody |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v4.4
|
||||
| Sprint: | Dev Platform 2020-11-02 | ||||
| Participants: | |||||
| Description |
|
Currently, building IDL targets requires invoking a bit of python code in the sources list to generate the c++ sources. For example:
The env.Idlc() invocation creates the generated c++ source and header files and SCons ultimately sees:
It would be a small, but repeated quality of life improvement to teach SCons about .idl files explicitly so that source lists could be written more simply and readably as:
|
| Comments |
| Comment by Githook User [ 22/Oct/20 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: (cherry picked from commit 298d4d6bbb9980b74bded06241067fe6771bef68) |
| Comment by Githook User [ 22/Oct/20 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: (cherry picked from commit 4da9091c16dd7e61568379b0f9237ba84a66c65b) |
| Comment by Githook User [ 22/Oct/20 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |
| Comment by Githook User [ 22/Oct/20 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |