diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2026-01-08 21:22:03 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2026-01-08 21:22:03 +0100 |
| commit | 4908dfd72a343ee7c35bc55a55ad860052e21fae (patch) | |
| tree | fc8e9a7af14ce3b70648870593a4724a14a4ff66 /README.CMake.txt | |
| parent | 7fae181d9503c436a486c6810c07a3320a27d233 (diff) | |
Add CMake option FLTK_OPTION_PEN_SUPPORT (default: ON)
This option can be used to disable pen/tablet support if there are
build problems on a particular platform or build system (e.g. MinGW)
so users can continue to build FLTK 1.5.
Users can also choose to disable pen support if they don't need it.
Diffstat (limited to 'README.CMake.txt')
| -rw-r--r-- | README.CMake.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/README.CMake.txt b/README.CMake.txt index 77a404482..7043b13de 100644 --- a/README.CMake.txt +++ b/README.CMake.txt @@ -285,6 +285,16 @@ FLTK_OPTION_OPTIM - default EMPTY "-Wall -Wno-deprecated-declarations". Example: cmake -D FLTK_BUILD_EXAMPLES=on -D FLTK_OPTION_OPTIM="-Wall -Wextra -pedantic" .. +FLTK_OPTION_PEN_SUPPORT - default ON + Pen support is relatively small and should be included by default, but + this option allows to switch it off if not needed. + Note: on some older systems or build platforms (notably "classic" MinGW) + compiling and building pen support may not be possible. As of this writing + (Jan. 2026) we don't use dynamic (CMake) tests to find out whether building + is possible or not. Instead users are encouraged to report build errors and + switch this option off to allow to proceed building FLTK 1.5.0. + Note: this option is WIP and may be removed later w/o further notice. + FLTK_OPTION_PRINT_SUPPORT - default ON When turned off, the Fl_Printer class does nothing and the Fl_PostScript_File_Device class cannot be used, but the FLTK library |
