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