summaryrefslogtreecommitdiff
path: root/README.CMake.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-08-13 20:32:56 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-08-21 18:55:12 +0200
commit3b9a04ae2eeed139717c8b368b2e99c495394706 (patch)
treeb56e10d8f498415379f7ae28739ef93f22eb9fb4 /README.CMake.txt
parentd91160a9e06bd4ee341ca93509dbce9393d9168a (diff)
CMake: add examples folder to build (optional)
- replace misnamed option 'OPTION_BUILD_EXAMPLES' with 'FLTK_BUILD_TEST' - add option 'FLTK_BUILD_EXAMPLES' to build apps in examples folder - move examples/fltk-versions.cxx to test/fltk-versions.cxx - [Travis-CI] enable option 'FLTK_BUILD_EXAMPLES' for automatic builds
Diffstat (limited to 'README.CMake.txt')
-rw-r--r--README.CMake.txt30
1 files changed, 17 insertions, 13 deletions
diff --git a/README.CMake.txt b/README.CMake.txt
index f64a80a83..b2281c649 100644
--- a/README.CMake.txt
+++ b/README.CMake.txt
@@ -113,8 +113,11 @@ OPTION_BUILD_SHARED_LIBS - default OFF
Normally FLTK is built as static libraries which makes more portable
binaries. If you want to use shared libraries, this will build them too.
-OPTION_BUILD_EXAMPLES - default ON
- Builds the many fine example programs.
+FLTK_BUILD_TEST - default ON
+ Builds the test and demo programs in the 'test' directory.
+
+FLTK_BUILD_EXAMPLES - default OFF
+ Builds the example programs in the 'examples' directory.
OPTION_CAIRO - default OFF
Enables libcairo support - see README.Cairo.txt.
@@ -138,16 +141,17 @@ OPTION_USE_SYSTEM_LIBPNG - default ON
use system libraries instead, unless CMake can't find them. If you set
any of these options to OFF, then the built in library will be used.
-OPTION_USE_NANOSVG - default ON
- FLTK has a built in nano svg library. Turning this option off
- disables nano SVG support.
+OPTION_USE_SVG - default ON
+ FLTK has a built in SVG library and can create (write) SVG image files.
+ Turning this option off disables SVG (read and write) support.
OPTION_USE_XINERAMA - default ON
-OPTION_USE_XFT - default ON
-OPTION_USE_XDBE - default ON
-OPTION_USE_XCURSOR - default ON
-OPTION_USE_XRENDER - default ON
- These are X11 extended libraries.
+OPTION_USE_XFT - default ON
+OPTION_USE_XDBE - default ON
+OPTION_USE_XCURSOR - default ON
+OPTION_USE_XRENDER - default ON
+ These are X11 extended libraries. These libs are used if found on the
+ build system unless the respective option is turned off.
OPTION_USE_PANGO - default OFF
Enables use of the Pango library for drawing text. Pango supports all
@@ -173,8 +177,8 @@ OPTION_PRINT_SUPPORT - default ON
Documentation options: these options are only available if `doxygen' is
installed and found by CMake. PDF related options require also `latex'.
-OPTION_BUILD_HTML_DOCUMENTATION - default OFF
-OPTION_BUILD_PDF_DOCUMENTATION - default OFF
+OPTION_BUILD_HTML_DOCUMENTATION - default ON
+OPTION_BUILD_PDF_DOCUMENTATION - default ON
These options can be used to switch HTML documentation generation with
doxygen on. The build targets ('html', 'pdf', or 'docs') need still to
be executed explicitly.
@@ -185,7 +189,7 @@ OPTION_INCLUDE_DRIVER_DOCUMENTATION - default OFF
or advanced users.
OPTION_INSTALL_HTML_DOCUMENTATION - default OFF
-OPTION_INSTALL_PDF_DOCUMENTATION - default OFF
+OPTION_INSTALL_PDF_DOCUMENTATION - default OFF
If these options are ON then the HTML and/or PDF docs get installed
when the 'install' target is executed, e.g. with `make install'. You
need to select above options OPTION_BUILD_*_DOCUMENTATION as well.