[CMAKE] winetests/: Move '/wd4101' to kernel32/ only
[reactos.git] / dll / shellext / fontext / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
3 add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)
4
5 spec2def(fontext.dll fontext.spec)
6
7 list(APPEND SOURCE
8 CDataObject.cpp
9 CEnumFonts.cpp
10 CFontCache.cpp
11 CFontCache.hpp
12 CFontExt.cpp
13 CFontExt.hpp
14 CFontMenu.cpp
15 fontext.cpp
16 fontpidl.cpp
17 fontpidl.hpp
18 precomp.h
19 resource.h)
20
21 add_library(fontext MODULE
22 ${SOURCE}
23 fontext.rc
24 fontext.spec
25 ${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
26
27 set_module_type(fontext win32dll UNICODE)
28 target_link_libraries(fontext uuid wine cpprt atl_classes)
29 add_delay_importlibs(fontext ole32 oleaut32 shlwapi gdi32)
30 add_importlibs(fontext shell32 advapi32 user32 msvcrt kernel32 ntdll)
31 add_pch(fontext precomp.h SOURCE)
32 add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)