[CMAKE]
[reactos.git] / dll / win32 / httpapi / CMakeLists.txt
1
2
3
4 add_definitions(-D__WINESRC__)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(httpapi ${CMAKE_CURRENT_SOURCE_DIR}/httpapi.spec ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def)
9
10 add_library(httpapi SHARED httpapi_main.c)
11
12 set_target_properties(httpapi PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
13
14 target_link_libraries(httpapi
15 ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def
16 wine
17 mingw_common)
18
19 add_dependencies(httpapi httpapi_def psdk)