Usage: cmake -DWARN_MODE=early|late|both
|
|
Warn modes:
|
early print warnings while compiling each source file (like usually)
|
late print warnings at finish of build process
|
both print warnings both 'early' and 'late'
|
|
Suppressing specific warnings. All messages with 'warning:' and 'note:'
|
are collected in <build_dir>/compile.warnings To make them all suppressed do
|
|
cd <build_dir>; cat compile.warnings >> suppress.warnings
|
|
After that only newly introduced warnings will be shown. This helps to
|
concentrate on current task's warnings effectively avoiding those that are to
|
be fixed by other people.
|
|
To disable processing warnings by this module do
|
|
cmake -UWARN_MODE
|