* CMakeLists.txt: Select platform-dependend `ftdebug.c'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
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'.