1 2project(SHELL) 3 4spec2def(ntobjshex.dll ntobjshex.spec) 5 6file(GLOB_RECURSE ntobjshex_rc_deps resources/*.*) 7add_rc_deps(ntobjshex.rc ${ntobjshex_rc_deps}) 8 9list(APPEND SOURCE 10 ntobjenum.cpp 11 ntobjfolder.cpp 12 ntobjshex.cpp 13 regfolder.cpp 14 precomp.h) 15 16add_library(ntobjshex MODULE 17 ${SOURCE} 18 ntobjshex.rc 19 ${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def) 20 21set_module_type(ntobjshex win32dll UNICODE) 22target_link_libraries(ntobjshex uuid wine cpprt atl_classes) 23 24add_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 38add_pch(ntobjshex precomp.h SOURCE) 39add_cd_file(TARGET ntobjshex DESTINATION reactos/system32 FOR all) 40