From f44c163234c5d08f38104b86fdaa44f783b246f6 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 24 Jun 2024 21:14:51 -0700 Subject: Add example to build w/warnings+fltk examples --- README.CMake.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.CMake.txt b/README.CMake.txt index 3f5e3894b..4c3b53265 100644 --- a/README.CMake.txt +++ b/README.CMake.txt @@ -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 -- cgit v1.2.3