1 2include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4 5spec2def(url.dll url.spec) 6 7list(APPEND SOURCE 8 url_main.c 9 ${CMAKE_CURRENT_BINARY_DIR}/url_stubs.c 10 ${CMAKE_CURRENT_BINARY_DIR}/url.def) 11 12add_library(url SHARED ${SOURCE}) 13 14set_module_type(url win32dll) 15 16target_link_libraries(url wine) 17 18add_importlibs(url shell32 shlwapi msvcrt kernel32 ntdll) 19 20add_cab_target(url 1) 21