mirror of
https://github.com/reactos/reactos.git
synced 2024-08-27 13:48:42 +00:00
![Cameron Gutman](/assets/img/avatar_default.png)
- Create a branch to drop my ndisuio work svn path=/branches/wlan-bringup/; revision=54809
47 lines
897 B
CMake
47 lines
897 B
CMake
|
|
include_directories(BEFORE include)
|
|
|
|
add_definitions(
|
|
-DNDIS_WRAPPER
|
|
-DNDIS51
|
|
-DNDIS51_MINIPORT
|
|
-DNDIS_LEGACY_DRIVER
|
|
-DNDIS_LEGACY_MINIPORT
|
|
-DNDIS_LEGACY_PROTOCOL
|
|
-DNDIS_MINIPORT_DRIVER)
|
|
|
|
spec2def(ndis.sys ndis.spec)
|
|
|
|
list(APPEND SOURCE
|
|
ndis/30stubs.c
|
|
ndis/40stubs.c
|
|
ndis/50stubs.c
|
|
ndis/buffer.c
|
|
ndis/cl.c
|
|
ndis/cm.c
|
|
ndis/co.c
|
|
ndis/config.c
|
|
ndis/control.c
|
|
ndis/efilter.c
|
|
ndis/hardware.c
|
|
ndis/io.c
|
|
ndis/main.c
|
|
ndis/memory.c
|
|
ndis/miniport.c
|
|
ndis/misc.c
|
|
ndis/protocol.c
|
|
ndis/string.c
|
|
ndis/time.c
|
|
ndis.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/ndis.def)
|
|
|
|
add_library(ndis SHARED ${SOURCE})
|
|
|
|
set_module_type(ndis kernelmodedriver)
|
|
add_importlibs(ndis ntoskrnl hal)
|
|
|
|
add_pch(ndis include/ndissys.h)
|
|
|
|
add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers FOR all)
|
|
add_importlib_target(ndis.spec)
|