Add support for SDL as a base library on OS X.

This commit adds the basic setup in CMake to allow SDL as a base
library for FLTK on OS X (and probably for other platforms as well).

The SDL library driver set is derived from yet another new driver
set named 'Pico'. 'Pico' is a base class for a driver that will
allow porting of FLTK with the tinyest amount of effort. This 
implementation of the SDL driver shall be documented very well
to explain the porting process.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2016-03-02 00:54:37 +00:00
parent f14de4048e
commit 53859c584f
36 changed files with 399 additions and 14 deletions
+18
View File
@@ -159,6 +159,24 @@
#cmakedefine USE_X11 1
/*
* USE_SDL
*
* Should we use SDL for the current platform
*
*/
#cmakedefine USE_SDL 1
/*
* FL_PORTING
*
* A little helper that points to locations in the core that still need to be ported to
* the core driver setup.
*/
#cmakedefine FL_PORTING 0
/*
* HAVE_OVERLAY:
*