You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently build exposes ALL configure-time defines to the sources appending arguments to the compilder command line.
This choice is suboptimal, because exposes unneeded defines to files not wanting it and, worse, it will recompile every source file if you change the configure-time defines.
Solution: Create a config.h (preferably out-of-tree in shadow builds) build-time generated file to aggregate all these changes. The config.h file could have its own directory, then the -I compiler arg wouldn't expose more files than needed.
The text was updated successfully, but these errors were encountered:
Currently build exposes ALL configure-time defines to the sources appending arguments to the compilder command line.
This choice is suboptimal, because exposes unneeded defines to files not wanting it and, worse, it will recompile every source file if you change the configure-time defines.
Solution: Create a config.h (preferably out-of-tree in shadow builds) build-time generated file to aggregate all these changes. The config.h file could have its own directory, then the
-I
compiler arg wouldn't expose more files than needed.The text was updated successfully, but these errors were encountered: