[SERVER-18048] Allow customization of other SCons Env vars when injecting a third party library Created: 14/Apr/15  Updated: 07/Aug/23  Resolved: 07/Aug/23

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Currently we have a facility for attaching the necessary include path for a specific third_party library. This allows us to shrink the include path for many parts of the build.

However, sometimes our third party libraries also require certain preprocessor definitions to be set. PCRE_STATIC is a notable example.

If we had a way to inject more than just the include path, but other arbitrary variables, then we could scope these preprocessor defines only to the subset of source files that require them, just as we do with the include paths.


Generated at Thu Feb 08 03:46:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.