[CMAKE]
[reactos.git] / dll / win32 / httpapi / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(httpapi.dll httpapi.spec)
7
8 list(APPEND SOURCE
9 httpapi_main.c
10 ${CMAKE_CURRENT_BINARY_DIR}/httpapi_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def)
12
13 add_library(httpapi SHARED ${SOURCE})
14
15 set_module_type(httpapi win32dll)
16 target_link_libraries(httpapi wine)
17 add_importlibs(httpapi msvcrt kernel32 ntdll)
18 add_cd_file(TARGET httpapi DESTINATION reactos/system32 FOR all)