1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4spec2def(url.dll url.spec) 5 6list(APPEND SOURCE 7 url_main.c 8 ${CMAKE_CURRENT_BINARY_DIR}/url_stubs.c 9 ${CMAKE_CURRENT_BINARY_DIR}/url.def) 10 11list(APPEND url_rc_deps 12 ${CMAKE_CURRENT_SOURCE_DIR}/res/102.ico) 13 14set_source_files_properties(url.rc PROPERTIES OBJECT_DEPENDS "${url_rc_deps}") 15 16add_library(url MODULE 17 ${SOURCE} 18 url.rc) 19 20set_module_type(url win32dll) 21target_link_libraries(url wine) 22add_importlibs(url shell32 shlwapi msvcrt kernel32 ntdll) 23add_cd_file(TARGET url DESTINATION reactos/system32 FOR all) 24