diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-07-08 13:54:44 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-07-08 13:59:47 +0200 |
| commit | 5cca79489b6400168eab8ea7eb3a05b2c6578752 (patch) | |
| tree | 5bace9831213bdff6559b54f5ff96dd43a04ae6b /configh.cmake.in | |
| parent | 135ba3a7e1e40df3df1949eee800eaf8c8b67416 (diff) | |
Harmonize and document syntax of config.h source files
- configh.in: add and improve comments, reorder statements
- configh.cmake.in: add comments, fix whitespace
- src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx:
fix trailing whitespace
Diffstat (limited to 'configh.cmake.in')
| -rw-r--r-- | configh.cmake.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configh.cmake.in b/configh.cmake.in index 166687416..9195c2bc9 100644 --- a/configh.cmake.in +++ b/configh.cmake.in @@ -2,7 +2,7 @@ /* * Configuration file for the Fast Light Tool Kit (FLTK). * - * Copyright 1998-2016 by Bill Spitzak and others. + * Copyright 1998-2021 by Bill Spitzak and others. * * This library is free software. Distribution and use rights are outlined in * the file "COPYING" which should have been included with this file. If this @@ -16,6 +16,18 @@ */ /* + * Note: configure syntax vs. CMake syntax in source files (examples): + * + * configh.in configh.cmake.in + * --------------------- ---------------------------- + * #define HAVE_GL 0 #cmakedefine01 HAVE_GL + * #undef HAVE_SNPRINTF #cmakedefine HAVE_SNPRINTF 1 + * + * The former #define's the given macro either as 0 or 1, + * the latter either does not define the macro or #define's it as 1. + */ + +/* * Where to find files... */ @@ -368,7 +380,7 @@ /* * Do we use GDI+ to get antialiased graphics? */ - + #ifdef _WIN32 #cmakedefine01 USE_GDIPLUS #endif |
