mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +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.
18 lines
419 B
CMake
18 lines
419 B
CMake
|
|
add_definitions(-D_COMDDK_)
|
|
|
|
list(APPEND SOURCE
|
|
control.c
|
|
deviface.c
|
|
dispatcher.c
|
|
main.c
|
|
pin.c
|
|
sysaudio.h)
|
|
|
|
add_library(sysaudio MODULE ${SOURCE} sysaudio.rc)
|
|
set_module_type(sysaudio kernelmodedriver)
|
|
target_link_libraries(sysaudio libcntpr)
|
|
add_importlibs(sysaudio ntoskrnl ks hal)
|
|
add_pch(sysaudio sysaudio.h SOURCE)
|
|
add_cd_file(TARGET sysaudio DESTINATION reactos/system32/drivers FOR all)
|