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}) 13set_module_type(url win32dll) 14target_link_libraries(url wine) 15add_importlibs(url shell32 shlwapi msvcrt kernel32 ntdll) 16add_cd_file(TARGET url DESTINATION reactos/system32 FOR all) 17