mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-17 07:27:30 +01:00
docs
This commit is contained in:
parent
268721bc94
commit
54dc13ba5f
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user