diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2026-01-04 19:16:53 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2026-01-04 19:16:53 +0100 |
| commit | 68d2c48514fcb1161da3bf9db0d385faf650b2a1 (patch) | |
| tree | 7d2cf7156ebe7350495a30c9e621fb6bb9680367 /CMake | |
| parent | 46e681561241d0a123dfc08c234745c40c4a262a (diff) | |
Add an option and the first program to create screenshots
This is the first step in creating additional programs for saving
screenshots for documentation purposes. These screenshots must be
saved in the documentation/images directory and checked into the
Git repository.
These programs allow developers to create new screenshots or change
existing ones. More screenshots may be created by programs in the
/test/ folder.
To-do: add more *new* screenshot programs, and if useful, move some
existing programs from the `/test/` folder to `/screenshots/`,
such as `test/resize-example*.cxx` and maybe more.
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/options.cmake | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index 063dc48b6..589550c73 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -458,18 +458,19 @@ option(FLTK_BUILD_SHARED_LIBS ####################################################################### -option(FLTK_OPTION_PRINT_SUPPORT "allow print support" ON) -option(FLTK_OPTION_FILESYSTEM_SUPPORT "allow file system support" ON) +option(FLTK_OPTION_PRINT_SUPPORT "allow print support" ON) +option(FLTK_OPTION_FILESYSTEM_SUPPORT "allow file system support" ON) -option(FLTK_BUILD_FORMS "Build forms compatibility library" OFF) -option(FLTK_BUILD_FLUID "Build FLUID" ON) -option(FLTK_BUILD_FLTK_OPTIONS "Build fltk-options" ON) -option(FLTK_BUILD_EXAMPLES "Build example programs" OFF) +option(FLTK_BUILD_FORMS "Build forms compatibility library" OFF) +option(FLTK_BUILD_FLUID "Build FLUID" ON) +option(FLTK_BUILD_FLTK_OPTIONS "Build fltk-options" ON) +option(FLTK_BUILD_EXAMPLES "Build example programs" OFF) +option(FLTK_BUILD_SCREENSHOTS "Build screenshot programs for docs" OFF) if(FLTK_IS_TOPLEVEL) - option(FLTK_BUILD_TEST "Build test/demo programs" ON) + option(FLTK_BUILD_TEST "Build test/demo programs" ON) else() - option(FLTK_BUILD_TEST "Build test/demo programs" OFF) + option(FLTK_BUILD_TEST "Build test/demo programs" OFF) endif() if(FLTK_BUILD_FORMS) |
