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