1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4spec2def(shfolder.dll shfolder.spec) 5 6list(APPEND SOURCE 7 version.rc 8 ${CMAKE_CURRENT_BINARY_DIR}/shfolder.def) 9 10add_library(shfolder MODULE ${SOURCE}) 11set_module_type(shfolder win32dll ENTRYPOINT 0 ) 12target_link_libraries(shfolder wine) 13add_importlibs(shfolder shell32 kernel32 ntdll) 14add_dependencies(shfolder psdk) 15add_cd_file(TARGET shfolder DESTINATION reactos/system32 FOR all) 16