summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-25 13:08:48 +0000
committerManolo Gouy <Manolo>2016-03-25 13:08:48 +0000
commita69133d3177f025d9810bdf9305147f80bbb270e (patch)
treec0513df6f46a47acb80860a0a03055ab376e3e98 /src/CMakeLists.txt
parent2530120d7d084f1ffbb9331e925153a3bcb15b92 (diff)
Separating platform-dependent from platform-independent code: make src/Fl.cxx cross-platform.
File src/Fl_win32.cxx is now compiled instead of included in Fl.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2f95566aa..d59f848f0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -98,7 +98,6 @@ set(CPPFILES
Fl_lock.cxx
Fl_own_colormap.cxx
Fl_visual.cxx
- Fl_x.cxx
filename_absolute.cxx
filename_expand.cxx
filename_ext.cxx
@@ -182,6 +181,7 @@ if (USE_X11)
drivers/Xlib/Fl_Translated_Xlib_Graphics_Driver.cxx
drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx
drivers/Xlib/Fl_Xlib_Image_Surface_Driver.cxx
+ Fl_x.cxx
)
if (USE_XFT)
set(DRIVER_FILES ${DRIVER_FILES}
@@ -275,6 +275,7 @@ else ()
drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx
drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx
drivers/GDI/Fl_GDI_Image_Surface_Driver.cxx
+ Fl_win32.cxx
)
set(DRIVER_HEADER_FILES
drivers/WinAPI/Fl_WinAPI_System_Driver.H