[CMAKE]
[reactos.git] / drivers / wdm / audio / sysaudio / CMakeLists.txt
1
2 add_definitions(-D_COMDDK_)
3
4 add_library(sysaudio SHARED
5 control.c
6 deviface.c
7 dispatcher.c
8 main.c
9 pin.c
10 sysaudio.rc)
11
12 set_target_properties(sysaudio PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
13
14 target_link_libraries(sysaudio libcntpr)
15
16 add_importlibs(sysaudio ntoskrnl ks hal)
17 add_dependencies(sysaudio psdk bugcodes)