summaryrefslogtreecommitdiff
path: root/README.CMake.txt
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2024-06-24 21:14:51 -0700
committerGreg Ercolano <erco@seriss.com>2024-06-24 21:14:51 -0700
commitf44c163234c5d08f38104b86fdaa44f783b246f6 (patch)
tree669dd08bff9c2d544e9334aeb7990df325ef0207 /README.CMake.txt
parentc1a950e25fec427e0e1f1979e8e2b93c102edefe (diff)
Add example to build w/warnings+fltk examples
Diffstat (limited to 'README.CMake.txt')
-rw-r--r--README.CMake.txt3
1 files changed, 2 insertions, 1 deletions
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