[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 28 Jul 2010 16:24:00 +0000 (16:24 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 28 Jul 2010 16:24:00 +0000 (16:24 +0000)
- Add sound drivers libs to build.

svn path=/branches/cmake-bringup/; revision=48332

lib/drivers/CMakeLists.txt
lib/drivers/sound/CMakeLists.txt [new file with mode: 0644]
lib/drivers/sound/legacy/CMakeLists.txt [new file with mode: 0644]
lib/drivers/sound/mmebuddy/CMakeLists.txt [new file with mode: 0644]
lib/drivers/sound/mment4/CMakeLists.txt [new file with mode: 0644]
lib/drivers/sound/mmixer/CMakeLists.txt [new file with mode: 0644]
lib/drivers/sound/shared/CMakeLists.txt [new file with mode: 0644]
lib/drivers/sound/soundblaster/CMakeLists.txt [new file with mode: 0644]
lib/drivers/sound/uartmidi/CMakeLists.txt [new file with mode: 0644]

index ee4bfc5..72024e8 100644 (file)
@@ -3,4 +3,4 @@ add_subdirectory(chew)
 add_subdirectory(csq)
 add_subdirectory(ip)
 add_subdirectory(oskittcp)
-#add_subdirectory(sound)
+add_subdirectory(sound)
diff --git a/lib/drivers/sound/CMakeLists.txt b/lib/drivers/sound/CMakeLists.txt
new file mode 100644 (file)
index 0000000..17bc771
--- /dev/null
@@ -0,0 +1,8 @@
+
+add_subdirectory(legacy)
+add_subdirectory(mmebuddy)
+add_subdirectory(mment4)
+add_subdirectory(mmixer)
+add_subdirectory(shared)
+add_subdirectory(soundblaster)
+add_subdirectory(uartmidi)
diff --git a/lib/drivers/sound/legacy/CMakeLists.txt b/lib/drivers/sound/legacy/CMakeLists.txt
new file mode 100644 (file)
index 0000000..416f756
--- /dev/null
@@ -0,0 +1,11 @@
+
+add_definitions(-D__NTDRIVER__)
+add_definitions(-DKERNEL)
+
+include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/sound/soundblaster)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
+
+file(GLOB_RECURSE SOURCE "*.c")
+
+add_library(audioleg ${SOURCE})
+add_dependencies(audioleg bugcodes)
diff --git a/lib/drivers/sound/mmebuddy/CMakeLists.txt b/lib/drivers/sound/mmebuddy/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f6e361e
--- /dev/null
@@ -0,0 +1,10 @@
+
+add_definitions(-DUNICODE -D_UNICODE)
+add_definitions(-DNDEBUG=1)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
+
+file(GLOB_RECURSE SOURCE "*.c")
+
+add_library(mmebuddy ${SOURCE})
+add_dependencies(mmebuddy psdk)
diff --git a/lib/drivers/sound/mment4/CMakeLists.txt b/lib/drivers/sound/mment4/CMakeLists.txt
new file mode 100644 (file)
index 0000000..70bb842
--- /dev/null
@@ -0,0 +1,10 @@
+
+add_definitions(-DUNICODE -D_UNICODE)
+add_definitions(-DDEBUG_NT4=1)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
+
+file(GLOB_RECURSE SOURCE "*.c")
+
+add_library(mment4 ${SOURCE})
+add_dependencies(mment4 psdk)
diff --git a/lib/drivers/sound/mmixer/CMakeLists.txt b/lib/drivers/sound/mmixer/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2c38b91
--- /dev/null
@@ -0,0 +1,11 @@
+
+add_definitions(-DUNICODE -D_UNICODE)
+add_definitions(-DNDEBUG=1)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
+
+file(GLOB_RECURSE SOURCE "*.c")
+
+add_library(mmixer ${SOURCE})
+add_dependencies(mmixer bugcodes)
+
diff --git a/lib/drivers/sound/shared/CMakeLists.txt b/lib/drivers/sound/shared/CMakeLists.txt
new file mode 100644 (file)
index 0000000..227618e
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(-D__NTDRIVER__)
+add_definitions(-DKERNEL)
+
+include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/sound/soundblaster)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
+
+add_library(audio time.c)
+add_dependencies(audio bugcodes)
diff --git a/lib/drivers/sound/soundblaster/CMakeLists.txt b/lib/drivers/sound/soundblaster/CMakeLists.txt
new file mode 100644 (file)
index 0000000..23fd311
--- /dev/null
@@ -0,0 +1,12 @@
+
+add_definitions(-D__NTDRIVER__)
+add_definitions(-DKERNEL)
+
+include_directories(.)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
+
+file(GLOB_RECURSE SOURCE "*.c")
+
+add_library(soundblaster ${SOURCE})
+add_dependencies(soundblaster bugcodes)
+
diff --git a/lib/drivers/sound/uartmidi/CMakeLists.txt b/lib/drivers/sound/uartmidi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5977122
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(-D__NTDRIVER__)
+add_definitions(-DKERNEL)
+
+include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/sound/soundblaster)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
+
+add_library(uartmidi midiuart.c)
+add_dependencies(uartmidi bugcodes)