2011-05-16 13:12:07 +00:00
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
|
|
|
|
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/wlansvc.idl)
|
|
|
|
|
2014-02-08 19:01:04 +00:00
|
|
|
list(APPEND SOURCE
|
2011-08-07 00:53:19 +00:00
|
|
|
wlansvc.c
|
|
|
|
rpcserver.c
|
2014-02-08 19:01:04 +00:00
|
|
|
precomp.h
|
2011-08-07 00:53:19 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wlansvc_s.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-08 19:01:04 +00:00
|
|
|
add_executable(wlansvc ${SOURCE})
|
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
if(NOT MSVC)
|
2012-09-09 23:59:16 +00:00
|
|
|
target_link_libraries(wlansvc ${PSEH_LIB})
|
2011-08-07 00:53:19 +00:00
|
|
|
endif()
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(wlansvc win32cui UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(wlansvc advapi32 rpcrt4 iphlpapi msvcrt kernel32 ntdll)
|
2014-02-08 19:01:04 +00:00
|
|
|
add_pch(wlansvc precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET wlansvc DESTINATION reactos/system32 FOR all)
|