2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-17 07:27:30 +01:00
This commit is contained in:
Thomas Nagy 2011-11-06 14:20:58 +01:00
parent 268721bc94
commit 54dc13ba5f

View File

@ -592,7 +592,7 @@ def configure(conf):
==== Creating configuration headers
Adding lots of command-line define values increases the size of the command-line and conceals the useful information (differences). Some projects use headers which are generated during the configuration, they are not modified during the build and they are not installed or redistributed. This system is useful for huge projects, and has been made popular by autoconf-based projects.
Adding lots of command-line define values increases the size of the command-line and makes it harder to review the flags when errors occur. Besides that, the defines passed on the command-line may fail unexpectedly with different compilers and command execution contexts. For example, define values containing quotes may be misinterpreted in Visual Studio response files. It is therefore a best practice to use configuration headers whenever possible.
Writing configuration headers can be performed using the following methods: