Author: akhaldi
Date: Thu Sep 30 20:37:04 2010
New Revision: 48947
URL:
http://svn.reactos.org/svn/reactos?rev=48947&view=rev
Log:
[CMAKE]
- Add audio_test, kmixer, wdmaud, sysaudio and ntvdm to build. By Alexey Komarov.
Added:
branches/cmake-bringup/drivers/wdm/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/wdm/audio/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/wdm/audio/backpln/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/wdm/audio/backpln/audio_test/CMakeLists.txt (with
props)
branches/cmake-bringup/drivers/wdm/audio/filters/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/wdm/audio/filters/kmixer/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/wdm/audio/legacy/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/wdm/audio/legacy/wdmaud/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/wdm/audio/sysaudio/CMakeLists.txt (with props)
branches/cmake-bringup/subsystems/ntvdm/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/drivers/CMakeLists.txt
branches/cmake-bringup/subsystems/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/CMakeList…
==============================================================================
--- branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] Thu Sep 30 20:37:04 2010
@@ -8,4 +8,5 @@
add_subdirectory(setup)
add_subdirectory(storage)
add_subdirectory(video)
+add_subdirectory(wdm)
add_subdirectory(wmi)
Added: branches/cmake-bringup/drivers/wdm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/CMake…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/CMakeLists.txt [iso-8859-1] Thu Sep 30 20:37:04
2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(audio)
Propchange: branches/cmake-bringup/drivers/wdm/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/CMakeLists.txt [iso-8859-1] Thu Sep 30
20:37:04 2010
@@ -1,0 +1,5 @@
+
+add_subdirectory(backpln)
+add_subdirectory(filters)
+add_subdirectory(legacy)
+add_subdirectory(sysaudio)
Propchange: branches/cmake-bringup/drivers/wdm/audio/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/backpln/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/backpln/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/backpln/CMakeLists.txt [iso-8859-1] Thu Sep
30 20:37:04 2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(audio_test)
Propchange: branches/cmake-bringup/drivers/wdm/audio/backpln/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/backpln/audio_test/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/backpln/audio_test/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/backpln/audio_test/CMakeLists.txt
[iso-8859-1] Thu Sep 30 20:37:04 2010
@@ -1,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)
Propchange: branches/cmake-bringup/drivers/wdm/audio/backpln/audio_test/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/filters/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/filters/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/filters/CMakeLists.txt [iso-8859-1] Thu Sep
30 20:37:04 2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(kmixer)
Propchange: branches/cmake-bringup/drivers/wdm/audio/filters/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/filters/kmixer/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/filters/kmixer/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/filters/kmixer/CMakeLists.txt [iso-8859-1]
Thu Sep 30 20:37:04 2010
@@ -1,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)
Propchange: branches/cmake-bringup/drivers/wdm/audio/filters/kmixer/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/legacy/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/legacy/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/legacy/CMakeLists.txt [iso-8859-1] Thu Sep 30
20:37:04 2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(wdmaud)
Propchange: branches/cmake-bringup/drivers/wdm/audio/legacy/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/legacy/wdmaud/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/legacy/wdmaud/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/legacy/wdmaud/CMakeLists.txt [iso-8859-1] Thu
Sep 30 20:37:04 2010
@@ -1,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)
Propchange: branches/cmake-bringup/drivers/wdm/audio/legacy/wdmaud/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/wdm/audio/sysaudio/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/wdm/audio…
==============================================================================
--- branches/cmake-bringup/drivers/wdm/audio/sysaudio/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/wdm/audio/sysaudio/CMakeLists.txt [iso-8859-1] Thu Sep
30 20:37:04 2010
@@ -1,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)
Propchange: branches/cmake-bringup/drivers/wdm/audio/sysaudio/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: branches/cmake-bringup/subsystems/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/subsystems/CMakeL…
==============================================================================
--- branches/cmake-bringup/subsystems/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/subsystems/CMakeLists.txt [iso-8859-1] Thu Sep 30 20:37:04
2010
@@ -1,2 +1,3 @@
+add_subdirectory(ntvdm)
add_subdirectory(win32)
Added: branches/cmake-bringup/subsystems/ntvdm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/subsystems/ntvdm/…
==============================================================================
--- branches/cmake-bringup/subsystems/ntvdm/CMakeLists.txt (added)
+++ branches/cmake-bringup/subsystems/ntvdm/CMakeLists.txt [iso-8859-1] Thu Sep 30
20:37:04 2010
@@ -1,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)
Propchange: branches/cmake-bringup/subsystems/ntvdm/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native