- Add audio_test, kmixer, wdmaud, sysaudio and ntvdm to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48947
This commit is contained in:
Amine Khaldi 2010-09-30 20:37:04 +00:00
parent 98d310566e
commit b69be78e88
12 changed files with 106 additions and 0 deletions

View file

@ -8,4 +8,5 @@ add_subdirectory(network)
add_subdirectory(setup)
add_subdirectory(storage)
add_subdirectory(video)
add_subdirectory(wdm)
add_subdirectory(wmi)

View file

@ -0,0 +1,2 @@
add_subdirectory(audio)

View file

@ -0,0 +1,5 @@
add_subdirectory(backpln)
add_subdirectory(filters)
add_subdirectory(legacy)
add_subdirectory(sysaudio)

View file

@ -0,0 +1,2 @@
add_subdirectory(audio_test)

View file

@ -0,0 +1,18 @@
add_definitions(-DPC_NO_IMPORTS)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
include_directories(${REACTOS_SOURCE_DIR}/drivers/wdm/audio/legacy/wdmaud)
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
add_executable(audio_test audio_test.c)
set_module_type(audio_test win32cui)
target_link_libraries(audio_test
libsamplerate
mingw_main
mingw_common)
add_importlibs(audio_test setupapi ksuser msvcrt)
add_dependencies(audio_test psdk bugcodes)

View file

@ -0,0 +1,2 @@
add_subdirectory(kmixer)

View file

@ -0,0 +1,16 @@
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
add_library(kmixer SHARED
kmixer.c
filter.c
pin.c)
set_target_properties(kmixer PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(kmixer
libcntpr
libsamplerate)
add_importlibs(kmixer ntoskrnl ks hal)
add_dependencies(kmixer psdk bugcodes)

View file

@ -0,0 +1,2 @@
add_subdirectory(wdmaud)

View file

@ -0,0 +1,23 @@
add_definitions(-D_COMDDK_)
include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
add_library(wdmaud SHARED
control.c
deviface.c
entry.c
mmixer.c
sup.c
wdmaud.rc)
set_target_properties(wdmaud PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(wdmaud
mmixer
libcntpr
pseh)
add_importlibs(wdmaud ntoskrnl ks hal)
add_dependencies(wdmaud psdk bugcodes)

View file

@ -0,0 +1,17 @@
add_definitions(-D_COMDDK_)
add_library(sysaudio SHARED
control.c
deviface.c
dispatcher.c
main.c
pin.c
sysaudio.rc)
set_target_properties(sysaudio PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(sysaudio libcntpr)
add_importlibs(sysaudio ntoskrnl ks hal)
add_dependencies(sysaudio psdk bugcodes)

View file

@ -1,2 +1,3 @@
add_subdirectory(ntvdm)
add_subdirectory(win32)

View file

@ -0,0 +1,17 @@
include_directories(.)
set_rc_compiler()
add_executable(ntvdm
ntvdm.c
ntvdm.rc)
set_module_type(ntvdm win32cui)
target_link_libraries(ntvdm
mingw_main
mingw_common)
add_importlibs(ntvdm ntdll user32 gdi32 advapi32 kernel32 msvcrt)
add_dependencies(ntvdm ndk bugcodes)