* Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
[reactos.git] / base / services / wlansvc / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
3
4 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/wlansvc.idl)
5
6 list(APPEND SOURCE
7 wlansvc.c
8 rpcserver.c
9 precomp.h
10 ${CMAKE_CURRENT_BINARY_DIR}/wlansvc_s.c)
11
12 add_executable(wlansvc ${SOURCE})
13
14 if(NOT MSVC)
15 target_link_libraries(wlansvc ${PSEH_LIB})
16 endif()
17
18 set_module_type(wlansvc win32cui UNICODE)
19 add_importlibs(wlansvc advapi32 rpcrt4 iphlpapi msvcrt kernel32 ntdll)
20 add_pch(wlansvc precomp.h SOURCE)
21 add_cd_file(TARGET wlansvc DESTINATION reactos/system32 FOR all)