reactos/drivers/network/ndis/CMakeLists.txt
Timo Kreuzer 0af4984309 [CMAKE]
Remove dll name from add_importlib_target macro

svn path=/branches/cmake-bringup/; revision=50520
2011-01-27 21:57:54 +00:00

46 lines
935 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 ${CMAKE_CURRENT_BINARY_DIR}/ndis_ndissys.h.gch ${SOURCE})
set_module_type(ndis kernelmodedriver)
add_importlibs(ndis ntoskrnl hal)
add_pch(ndis ${CMAKE_CURRENT_SOURCE_DIR}/include/ndissys.h ${SOURCE})
add_cab_target(ndis 2)
add_importlib_target(ndis.spec)