* Sync up to trunk head (r64921).
[reactos.git] / dll / win32 / wlanapi / CMakeLists.txt
1
2 include_directories( ${REACTOS_SOURCE_DIR}/include/reactos/idl)
3 add_rpc_files(client ${REACTOS_SOURCE_DIR}/include/reactos/idl/wlansvc.idl)
4 spec2def(wlanapi.dll wlanapi.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/wlanapi_stubs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def
10 ${CMAKE_CURRENT_BINARY_DIR}/wlansvc_c.c)
11
12 add_library(wlanapi SHARED ${SOURCE})
13 set_module_type(wlanapi win32dll)
14 target_link_libraries(wlanapi wine ${PSEH_LIB})
15 add_importlibs(wlanapi rpcrt4 msvcrt kernel32 ntdll)
16 add_cd_file(TARGET wlanapi DESTINATION reactos/system32 FOR all)