diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-01-28 00:31:59 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-01-28 00:31:59 +0000 |
| commit | 6d72d430e4b1c4640ca52bb7516d17890583ca63 (patch) | |
| tree | 1f15ff31902dad8a0ca24ec50cf47a19dd847bee /src | |
| parent | bbbb477581a4a088f0fa04eeaa6e390b71c4582d (diff) | |
(Try to) fix CMake for Apple, prepare for Windows drivers.
This update is tested on Linux only, but should hopefully work on
Mac OS X with CMake + make and/or CMake + Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 83fac14ad..a62a4999a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -150,6 +150,9 @@ set(CPPFILES set(DRIVER_FILES) if (USE_X11) + + # X11 (including APPLE with X11) + # FILE(GLOB DRIVER_FILES drivers/Xlib/Fl_Xlib_Graphics_Driver_*.cxx) set(DRIVER_FILES drivers/Xlib/Fl_Xlib_Graphics_Driver_arci.cxx @@ -168,6 +171,29 @@ if (USE_X11) drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx ) endif (USE_XFT) + +elseif (APPLE) + + # Apple Quartz + + # FILE(GLOB DRIVER_FILES drivers/Quartz/Fl_Quartz_Graphics_Driver_*.cxx) + set(DRIVER_FILES + driversQuartz/Fl_Quartz_Graphics_Driver.cxx + driversQuartz/Fl_Quartz_Graphics_Driver_color.cxx + driversQuartz/Fl_Quartz_Graphics_Driver_rect.cxx + driversQuartz/Fl_Quartz_Graphics_Driver_font.cxx + driversQuartz/Fl_Quartz_Graphics_Driver_vertex.cxx + driversQuartz/Fl_Quartz_Graphics_Driver_image.cxx + driversQuartz/Fl_Quartz_Printer_Graphics_Driver.cxx + driversQuartz/Fl_Quartz_Graphics_Driver_arci.cxx + driversQuartz/Fl_Quartz_Graphics_Driver_line_style.cxx + ) + +else () + + # Windows (GDI) + # not yet "converted" + endif (USE_X11) set(CPPFILES |
