[CMAKE]
[reactos.git] / dll / win32 / wlanapi / CMakeLists.txt
1
2 include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
3
4 spec2def(wlanapi.dll wlanapi.spec)
5
6 list(APPEND SOURCE
7 main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/wlanapi_stubs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def)
10
11 add_library(wlanapi SHARED ${SOURCE})
12
13 set_entrypoint(wlanapi 0)
14
15 target_link_libraries(wlanapi
16 wlansvcrpc
17 wine
18 ${PSEH_LIB})
19
20 add_importlibs(wlanapi rpcrt4 kernel32 ntdll)
21 add_importlib_target(wlanapi.spec)
22
23 add_dependencies(wlanapi psdk)
24 add_cd_file(TARGET wlanapi DESTINATION reactos/system32 FOR all)