mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 10:57:58 +08:00
(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
This commit is contained in:
@@ -150,6 +150,9 @@ set(CPPFILES
|
|||||||
set(DRIVER_FILES)
|
set(DRIVER_FILES)
|
||||||
|
|
||||||
if (USE_X11)
|
if (USE_X11)
|
||||||
|
|
||||||
|
# X11 (including APPLE with X11)
|
||||||
|
|
||||||
# FILE(GLOB DRIVER_FILES drivers/Xlib/Fl_Xlib_Graphics_Driver_*.cxx)
|
# FILE(GLOB DRIVER_FILES drivers/Xlib/Fl_Xlib_Graphics_Driver_*.cxx)
|
||||||
set(DRIVER_FILES
|
set(DRIVER_FILES
|
||||||
drivers/Xlib/Fl_Xlib_Graphics_Driver_arci.cxx
|
drivers/Xlib/Fl_Xlib_Graphics_Driver_arci.cxx
|
||||||
@@ -168,6 +171,29 @@ if (USE_X11)
|
|||||||
drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx
|
drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx
|
||||||
)
|
)
|
||||||
endif (USE_XFT)
|
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)
|
endif (USE_X11)
|
||||||
|
|
||||||
set(CPPFILES
|
set(CPPFILES
|
||||||
|
|||||||
Reference in New Issue
Block a user