[FONTSUB] Import from Wine Staging 1.9.13. CORE-11219
[reactos.git] / reactos / dll / win32 / fontsub / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(fontsub.dll fontsub.spec)
5
6 add_library(fontsub SHARED
7 main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/fontsub_stubs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/fontsub.def)
10
11 set_module_type(fontsub win32dll)
12 target_link_libraries(fontsub wine)
13 add_importlibs(fontsub msvcrt kernel32 ntdll)
14 add_cd_file(TARGET fontsub DESTINATION reactos/system32 FOR all)