summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-07 15:10:30 +0000
committerManolo Gouy <Manolo>2016-04-07 15:10:30 +0000
commit23a60edb44d264887a398eef1b6346f8f24737e2 (patch)
treeae6920a8b002dd26240f560d61df84888ba3b4a5 /src/CMakeLists.txt
parent406fcaf3053b2d8d9c8ea677c59667a7ec43a556 (diff)
Rewrite filename_list.cxx under the driver model.
One more platform-dependent type is necessary: struct dirent Create a new header file, FL/platform_types.h, to define all types whose definition is platform-dependent. This file is for C because it is included by scandir_XXX.c git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 88b8137b8..7039b6724 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -366,7 +366,6 @@ set (IMGCPPFILES
set (CFILES
flstring.c
- scandir.c
numericsort.c
vsnprintf.c
xutf8/is_right2left.c
@@ -377,6 +376,7 @@ set (CFILES
if (USE_X11)
list (APPEND CFILES
xutf8/keysym2Ucs.c
+ scandir_posix.c
)
if (NOT USE_XFT)
list (APPEND CFILES
@@ -387,6 +387,12 @@ if (USE_X11)
endif (NOT USE_XFT)
endif (USE_X11)
+if (WIN32)
+ list (APPEND CFILES
+ scandir_win32.c
+ )
+endif (WIN32)
+
if (APPLE AND (NOT OPTION_APPLE_X11) AND (NOT OPTION_APPLE_SDL))
set (MMFILES
Fl_cocoa.mm