Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
Server Development Platform
-
Fully Compatible
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.