[CMAKE]
[reactos.git] / drivers / wdm / audio / legacy / wdmaud / CMakeLists.txt
1
2 add_definitions(-D_COMDDK_)
3
4 include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
6
7 add_library(wdmaud SHARED
8 control.c
9 deviface.c
10 entry.c
11 mmixer.c
12 sup.c
13 wdmaud.rc)
14
15 set_target_properties(wdmaud PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
16
17 target_link_libraries(wdmaud
18 mmixer
19 libcntpr
20 pseh)
21
22 add_importlibs(wdmaud ntoskrnl ks hal)
23 add_dependencies(wdmaud psdk bugcodes)