[CMAKE]
[reactos.git] / drivers / usb / usbd / CMakeLists.txt
1
2 spec2def(usbd.sys usbd.spec)
3
4 add_library(usbd SHARED usbd.c usbd.rc
5 ${CMAKE_CURRENT_BINARY_DIR}/usbd.def)
6
7 set_target_properties(usbd PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
8
9 add_importlibs(usbd ntoskrnl hal)
10 add_dependencies(usbd psdk bugcodes)