[CMAKE] winetests/: Move '/wd4334' to 3 sub-modules only
[reactos.git] / dll / shellext / ntobjshex / CMakeLists.txt
1
2 project(SHELL)
3
4 spec2def(ntobjshex.dll ntobjshex.spec)
5
6 file(GLOB_RECURSE ntobjshex_rc_deps resources/*.*)
7 add_rc_deps(ntobjshex.rc ${ntobjshex_rc_deps})
8
9 list(APPEND SOURCE
10 ntobjenum.cpp
11 ntobjfolder.cpp
12 ntobjshex.cpp
13 regfolder.cpp
14 precomp.h)
15
16 add_library(ntobjshex MODULE
17 ${SOURCE}
18 ntobjshex.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def)
20
21 set_module_type(ntobjshex win32dll UNICODE)
22 target_link_libraries(ntobjshex uuid wine cpprt atl_classes)
23
24 add_importlibs(ntobjshex
25 advapi32
26 winmm
27 ole32
28 oleaut32
29 shlwapi
30 shell32
31 comctl32
32 msvcrt
33 gdi32
34 user32
35 kernel32
36 ntdll)
37
38 add_pch(ntobjshex precomp.h SOURCE)
39 add_cd_file(TARGET ntobjshex DESTINATION reactos/system32 FOR all)