mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
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.
22 lines
540 B
CMake
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)
|