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 /CMakeLists.txt | |
| 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 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6da0edc94..75878202e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -282,14 +282,24 @@ include(CMake/export.cmake) # options to build test/demo and example programs ####################################################################### +# general test programs for FLTK development + if(FLTK_BUILD_TEST) add_subdirectory(test) endif(FLTK_BUILD_TEST) +# example programs for FLTK users + if(FLTK_BUILD_EXAMPLES) add_subdirectory(examples) endif(FLTK_BUILD_EXAMPLES) +# screenshot programs for FLTK developers + +if(FLTK_BUILD_SCREENSHOTS) + add_subdirectory(screenshots) +endif(FLTK_BUILD_SCREENSHOTS) + ####################################################################### # Create and install version config file 'FLTKConfigVersion.cmake' ####################################################################### |
