1
2include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/freetype/include)
3spec2def(ftfd.dll ftfd.spec ADD_IMPORTLIB)
4
5list(APPEND SOURCE
6    enable.c
7    font.c
8    glyph.c
9    rosglue.c)
10
11list(APPEND PCH_SKIP_SOURCE
12    sprintf.c)
13
14add_library(ftfd MODULE
15    ${SOURCE}
16    ${PCH_SKIP_SOURCE}
17    freetype.rc
18    ${CMAKE_CURRENT_BINARY_DIR}/ftfd.def)
19
20set_module_type(ftfd kerneldll ENTRYPOINT FtfdEnableDriver 12)
21target_link_libraries(ftfd freetype libcntpr)
22add_pch(ftfd ftfd.h "${PCH_SKIP_SOURCE}")
23add_importlibs(ftfd win32k)
24add_dependencies(ftfd psdk)
25add_cd_file(TARGET ftfd DESTINATION reactos/system32 FOR all)
26