reactos/drivers/wdm/audio/legacy/wdmaud/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

22 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)