[CMAKE]
[reactos.git] / 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_importlibs(ftfd win32k)
23 add_dependencies(ftfd psdk)
24 add_cd_file(TARGET ftfd DESTINATION reactos/system32 FOR all)
25 add_importlib_target(ftfd.spec)