mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
21 lines
540 B
CMake
21 lines
540 B
CMake
|
|
add_definitions(-D_COMDDK_)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/mmixer
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
|
|
|
list(APPEND SOURCE
|
|
control.c
|
|
deviface.c
|
|
entry.c
|
|
mmixer.c
|
|
sup.c
|
|
wdmaud.h)
|
|
|
|
add_library(wdmaud MODULE ${SOURCE} wdmaud.rc)
|
|
set_module_type(wdmaud kernelmodedriver)
|
|
target_link_libraries(wdmaud mmixer libcntpr)
|
|
add_pch(wdmaud wdmaud.h SOURCE)
|
|
add_importlibs(wdmaud ntoskrnl ks hal)
|
|
add_cd_file(TARGET wdmaud DESTINATION reactos/system32/drivers FOR all)
|