[FONTEXT] Initial implementation
[reactos.git] / dll / shellext / fontext / CMakeLists.txt
1
2 add_definitions(
3 -D_ATL_NO_EXCEPTIONS)
4
5 remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
6 add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)
7
8 set_cpp(WITH_RUNTIME)
9
10 spec2def(fontext.dll fontext.spec)
11
12 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
13
14 list(APPEND SOURCE
15 CDataObject.cpp
16 CEnumFonts.cpp
17 CFontCache.cpp
18 CFontCache.hpp
19 CFontExt.cpp
20 CFontExt.hpp
21 CFontMenu.cpp
22 fontext.cpp
23 fontpidl.cpp
24 fontpidl.hpp
25 precomp.h)
26
27 add_library(fontext MODULE
28 ${SOURCE}
29 fontext.rc
30 fontext.spec
31 ${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
32
33 set_module_type(fontext win32dll UNICODE)
34 target_link_libraries(fontext uuid wine)
35 add_delay_importlibs(fontext ole32 oleaut32 shlwapi)
36 add_importlibs(fontext shell32 advapi32 user32 msvcrt kernel32 ntdll)
37 add_pch(fontext precomp.h SOURCE)
38 add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)