2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(fontext.dll fontext.spec)
|
|
|
|
|
2014-02-10 20:32:25 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
fontext.c
|
|
|
|
regsvr.c
|
2014-02-10 20:32:25 +00:00
|
|
|
fontext.h)
|
|
|
|
|
|
|
|
add_library(fontext SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
fontext.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(fontext win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(fontext uuid)
|
|
|
|
|
|
|
|
add_importlibs(fontext
|
|
|
|
user32
|
|
|
|
gdi32
|
|
|
|
ole32
|
|
|
|
shlwapi
|
|
|
|
lz32
|
|
|
|
advapi32
|
|
|
|
setupapi
|
|
|
|
msvcrt
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2014-02-10 20:32:25 +00:00
|
|
|
add_pch(fontext fontext.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)
|