mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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:
@@ -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:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user