Add example to build w/warnings+fltk examples

This commit is contained in:
Greg Ercolano 2024-06-24 21:14:51 -07:00
parent c1a950e25f
commit f44c163234
1 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,8 @@ FLTK_OPTION_LARGE_FILE - default ON
FLTK_OPTION_OPTIM - default EMPTY
Extra optimization flags for the C and C++ compilers, for instance
"-Wall -Wno-deprecated-declarations".
"-Wall -Wno-deprecated-declarations". Example:
cmake -D FLTK_BUILD_EXAMPLES=on -D FLTK_OPTION_OPTIM="-Wall -Wextra -pedantic" ..
FLTK_OPTION_PRINT_SUPPORT - default ON
When turned off, the Fl_Printer class does nothing and the