2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/freetype/include)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(ftfd.dll ftfd.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-09 22:52:01 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
enable.c
|
|
|
|
font.c
|
|
|
|
glyph.c
|
2020-05-09 21:37:40 +00:00
|
|
|
rosglue.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
sprintf.c)
|
2014-02-09 22:52:01 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(ftfd MODULE
|
2014-02-09 22:52:01 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2013-09-19 23:11:29 +00:00
|
|
|
freetype.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/ftfd.def)
|
|
|
|
|
2014-10-04 20:25:57 +00:00
|
|
|
set_module_type(ftfd kerneldll ENTRYPOINT FtfdEnableDriver 12)
|
2014-10-17 23:28:29 +00:00
|
|
|
target_link_libraries(ftfd freetype libcntpr)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(ftfd ftfd.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(ftfd win32k)
|
|
|
|
add_dependencies(ftfd psdk)
|
|
|
|
add_cd_file(TARGET ftfd DESTINATION reactos/system32 FOR all)
|