mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +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.
16 lines
420 B
CMake
16 lines
420 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libsamplerate)
|
|
|
|
list(APPEND SOURCE
|
|
kmixer.c
|
|
filter.c
|
|
pin.c
|
|
kmixer.h)
|
|
|
|
add_library(kmixer MODULE ${SOURCE})
|
|
set_module_type(kmixer kernelmodedriver)
|
|
target_link_libraries(kmixer libcntpr libsamplerate)
|
|
add_pch(kmixer kmixer.h SOURCE)
|
|
add_importlibs(kmixer ntoskrnl ks hal)
|
|
add_cd_file(TARGET kmixer DESTINATION reactos/system32/drivers FOR all)
|