xref: /reactos/dll/shellext/mydocs/CMakeLists.txt (revision 40462c92)
1spec2def(mydocs.dll mydocs.spec)
2
3add_definitions(
4    -D_WINE)
5
6file(GLOB_RECURSE mydocs_rc_deps res/*.*)
7add_rc_deps(mydocs.rc ${mydocs_rc_deps})
8
9list(APPEND SOURCE
10    CMyDocsDropHandler.cpp
11    mydocs.cpp
12    precomp.hpp)
13
14add_library(mydocs MODULE
15    ${SOURCE}
16    mydocs.rc
17    ${CMAKE_CURRENT_BINARY_DIR}/mydocs.def)
18
19set_module_type(mydocs win32dll UNICODE)
20target_link_libraries(mydocs uuid wine cpprt atl_classes)
21add_delay_importlibs(mydocs ole32 oleaut32)
22add_importlibs(mydocs advapi32 shell32 user32 comctl32 shlwapi msvcrt kernel32 ntdll)
23add_pch(mydocs precomp.hpp SOURCE)
24add_cd_file(TARGET mydocs DESTINATION reactos/system32 FOR all)
25