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