New CMake option OPTION_PRINT_SUPPORT turned ON by default

When the option is off, file config.h defines NO_PRINT_SUPPORT 
which in turn produces a library without print support, that is, 
class Fl_Printer does nothing.
When off, the FLTK library is somewhat smaller.
Can be turned off only when the X11 library is used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2016-02-05 16:34:42 +00:00
parent 254cb01f54
commit a8a777ff26
5 changed files with 44 additions and 9 deletions
+6
View File
@@ -336,6 +336,12 @@
#cmakedefine01 HAVE_DLFCN_H
#cmakedefine01 HAVE_DLSYM
/*
* Do we want print support?
*/
#cmakedefine NO_PRINT_SUPPORT 1
/*
* End of "$Id$".
*/