2011-05-16 13:12:07 +00:00
|
|
|
|
2019-08-03 13:14:20 +00:00
|
|
|
add_definitions(
|
|
|
|
-D_ATL_NO_EXCEPTIONS)
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)
|
|
|
|
|
|
|
|
set_cpp(WITH_RUNTIME)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(fontext.dll fontext.spec)
|
|
|
|
|
2019-08-03 13:14:20 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
|
|
|
|
|
2014-02-10 20:32:25 +00:00
|
|
|
list(APPEND SOURCE
|
2019-08-03 13:14:20 +00:00
|
|
|
CDataObject.cpp
|
|
|
|
CEnumFonts.cpp
|
|
|
|
CFontCache.cpp
|
|
|
|
CFontCache.hpp
|
|
|
|
CFontExt.cpp
|
|
|
|
CFontExt.hpp
|
|
|
|
CFontMenu.cpp
|
|
|
|
fontext.cpp
|
|
|
|
fontpidl.cpp
|
|
|
|
fontpidl.hpp
|
2020-01-20 20:43:19 +00:00
|
|
|
precomp.h
|
|
|
|
resource.h)
|
2014-02-10 20:32:25 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(fontext MODULE
|
2014-02-10 20:32:25 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
fontext.rc
|
2019-08-03 13:14:20 +00:00
|
|
|
fontext.spec
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(fontext win32dll UNICODE)
|
2019-08-03 13:14:20 +00:00
|
|
|
target_link_libraries(fontext uuid wine)
|
2019-11-12 11:26:56 +00:00
|
|
|
add_delay_importlibs(fontext ole32 oleaut32 shlwapi gdi32)
|
2019-08-03 13:14:20 +00:00
|
|
|
add_importlibs(fontext shell32 advapi32 user32 msvcrt kernel32 ntdll)
|
|
|
|
add_pch(fontext precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)
|