xref: /reactos/dll/win32/wlanapi/CMakeLists.txt (revision 50cf16b3)
1
2include_directories( ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
3add_rpc_files(client ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/wlansvc.idl)
4spec2def(wlanapi.dll wlanapi.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    main.c
8    profile.c
9    ${CMAKE_CURRENT_BINARY_DIR}/wlanapi_stubs.c
10    ${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def
11    ${CMAKE_CURRENT_BINARY_DIR}/wlansvc_c.c)
12
13add_library(wlanapi MODULE ${SOURCE})
14set_module_type(wlanapi win32dll)
15target_link_libraries(wlanapi wine ${PSEH_LIB})
16add_importlibs(wlanapi rpcrt4 msvcrt kernel32 ntdll)
17add_cd_file(TARGET wlanapi DESTINATION reactos/system32 FOR all)
18