Commit 94c79c202964c1d9d6bf104c63f2904da7495aea

Werner Lemberg 2015-06-26T06:46:59

* CMakeLists.txt: Select platform-dependend `ftdebug.c'.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 55b5bfe..93863d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -147,7 +147,6 @@ set(BASE_SRCS
   src/base/ftbdf.c
   src/base/ftbitmap.c
   src/base/ftcid.c
-  src/base/ftdebug.c
   src/base/ftfntfmt.c
   src/base/ftfstype.c
   src/base/ftgasp.c
@@ -185,6 +184,14 @@ set(BASE_SRCS
   src/winfonts/winfnt.c
 )
 
+if (WIN32)
+  set(BASE_SRCS ${BASE_SRCS} builds/windows/ftdebug.c)
+elseif (WINCE)
+  set(BASE_SRCS ${BASE_SRCS} builds/wince/ftdebug.c)
+else ()
+  set(BASE_SRCS ${BASE_SRCS} src/base/ftdebug.c)
+endif ()
+
 include_directories("src/truetype")
 include_directories("src/sfnt")
 include_directories("src/autofit")
diff --git a/ChangeLog b/ChangeLog
index fe5ce33..f54cec3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,10 @@
 
 	* src/bdf/bdflib.c (_bdf_parse_start): Simplify bpp parsing.
 
+2015-06-26  Werner Lemberg  <wl@gnu.org>
+
+	* CMakeLists.txt: Select platform-dependend `ftdebug.c'.
+
 2015-06-25  Werner Lemberg  <wl@gnu.org>
 
 	* CMakeLists.txt: Use cmake functions for generating `ftconfig.h'.