c45ab457bfeaa19d3c4f11b5fe9a6fcde174671b
[reactos.git] / reactos / drivers / video / font / ftfd / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/freetype/include)
3
4 spec2def(ftfd.dll ftfd.spec)
5
6 add_library(ftfd SHARED
7 enable.c
8 font.c
9 glyph.c
10 rosglue.c
11 sprintf.c
12 ${CMAKE_CURRENT_BINARY_DIR}/ftfd.def)
13
14 set_entrypoint(ftfd FtfdEnableDriver 12)
15 set_subsystem(ftfd native)
16 set_image_base(ftfd ${baseaddress_ftfd})
17
18 target_link_libraries(ftfd
19 freetype
20 libcntpr)
21
22 add_pch(ftfd ftfd.h)
23 add_importlibs(ftfd win32k)
24 add_dependencies(ftfd psdk)
25 add_cd_file(TARGET ftfd DESTINATION reactos/system32 FOR all)
26 add_importlib_target(ftfd.spec ftfd.dll)