xref: /reactos/dll/shellext/fontext/CMakeLists.txt (revision 1734f297)
1
2remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
3add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)
4
5spec2def(fontext.dll fontext.spec)
6
7list(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
21add_library(fontext MODULE
22    ${SOURCE}
23    fontext.rc
24    fontext.spec
25    ${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
26
27set_module_type(fontext win32dll UNICODE)
28target_link_libraries(fontext uuid wine cpprt atl_classes)
29add_delay_importlibs(fontext ole32 oleaut32 shlwapi gdi32)
30add_importlibs(fontext shell32 advapi32 user32 msvcrt kernel32 ntdll)
31add_pch(fontext precomp.h SOURCE)
32add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)
33