mirror of
https://github.com/reactos/reactos.git
synced 2024-10-09 02:35:42 +00:00
9cc4f5ceee
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation. svn path=/branches/cmake-bringup/; revision=50574
25 lines
517 B
CMake
25 lines
517 B
CMake
|
|
include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
|
|
|
|
spec2def(wlanapi.dll wlanapi.spec)
|
|
|
|
list(APPEND SOURCE
|
|
main.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/wlanapi_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def)
|
|
|
|
add_library(wlanapi SHARED ${SOURCE})
|
|
|
|
set_entrypoint(wlanapi 0)
|
|
|
|
target_link_libraries(wlanapi
|
|
wlansvcrpc
|
|
wine
|
|
${PSEH_LIB})
|
|
|
|
add_importlibs(wlanapi rpcrt4 kernel32 ntdll)
|
|
add_importlib_target(wlanapi.spec)
|
|
|
|
add_dependencies(wlanapi psdk buildno_header)
|
|
add_cab_target(wlanapi 1)
|