2020-04-22 10:34:15 +00:00
|
|
|
spec2def(mydocs.dll mydocs.spec)
|
|
|
|
|
|
|
|
add_definitions(
|
2020-09-18 09:08:58 +00:00
|
|
|
-D_WINE)
|
2020-04-22 10:34:15 +00:00
|
|
|
|
2024-03-06 10:56:26 +00:00
|
|
|
set(ICONS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../win32/shell32/res/icons)
|
|
|
|
file(GLOB_RECURSE mydocs_rc_deps res/*.* ${ICONS_DIR}/235.ico ${ICONS_DIR}/236.ico)
|
2020-04-22 10:34:15 +00:00
|
|
|
add_rc_deps(mydocs.rc ${mydocs_rc_deps})
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
CMyDocsDropHandler.cpp
|
|
|
|
mydocs.cpp
|
|
|
|
precomp.hpp)
|
|
|
|
|
|
|
|
add_library(mydocs MODULE
|
|
|
|
${SOURCE}
|
|
|
|
mydocs.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mydocs.def)
|
|
|
|
|
|
|
|
set_module_type(mydocs win32dll UNICODE)
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(mydocs uuid wine cpprt atl_classes)
|
2020-04-22 10:34:15 +00:00
|
|
|
add_delay_importlibs(mydocs ole32 oleaut32)
|
|
|
|
add_importlibs(mydocs advapi32 shell32 user32 comctl32 shlwapi msvcrt kernel32 ntdll)
|
|
|
|
add_pch(mydocs precomp.hpp SOURCE)
|
|
|
|
add_cd_file(TARGET mydocs DESTINATION reactos/system32 FOR all)
|