From 27ec384cb81ecd165c0aa464d5a14eea99d9b71c Mon Sep 17 00:00:00 2001 From: mattraykowski Date: Fri, 23 Jul 2010 13:54:42 -0600 Subject: [PATCH] Change: #842 Added some source groups to mimic VS SLNs. --- .../src/sound/driver/openal/CMakeLists.txt | 16 ++++++++++++ .../src/sound/driver/xaudio2/CMakeLists.txt | 26 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/code/nel/src/sound/driver/openal/CMakeLists.txt b/code/nel/src/sound/driver/openal/CMakeLists.txt index 401a8d1ea..2f606f966 100644 --- a/code/nel/src/sound/driver/openal/CMakeLists.txt +++ b/code/nel/src/sound/driver/openal/CMakeLists.txt @@ -1,5 +1,21 @@ FILE(GLOB SRC *.cpp *.h) +SOURCE_GROUP(efx FILES + effect_al.cpp + effect_al.h) + +SOURCE_GROUP(sfx FILES + buffer_al.cpp + buffer_al.h + listener_al.cpp + listener_al.h + source_al.cpp + source_al.h) + +SOURCE_GROUP(util FILES + ext_al.cpp + ext_al.h) + NL_TARGET_DRIVER(nel_drv_openal ${SRC}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${OPENAL_INCLUDE_DIR}) diff --git a/code/nel/src/sound/driver/xaudio2/CMakeLists.txt b/code/nel/src/sound/driver/xaudio2/CMakeLists.txt index 68c6881ce..7ed375902 100644 --- a/code/nel/src/sound/driver/xaudio2/CMakeLists.txt +++ b/code/nel/src/sound/driver/xaudio2/CMakeLists.txt @@ -1,5 +1,31 @@ FILE(GLOB SRC *.cpp *.h) +SOURCE_GROUP(sfx FILES + buffer_xaudio2.cpp + buffer_xaudio2.h + listener_xaudio2.cpp + listener_xaudio2.h + source_xaudio2.cpp + source_xaudio2.h) + +SOURCE_GROUP(sfx\\utility FILES + adpcm_xaudio2.cpp + adpcm_xaudio2.h) + +SOURCE_GROUP(music_remove FILES + music_channel_xaudio2.cpp + music_channel_xaudio2.h) + +SOURCE_GROUP(music_remove\\utility FILES + music_buffer.cpp + music_buffer.h + music_buffer_vorbis.cpp + music_buffer_vorbis.h) + +SOURCE_GROUP(efx FILES + effect_xaudio2.cpp + effect_xaudio2.h) + NL_TARGET_DRIVER(nel_drv_xaudio2 ${SRC}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${DXSDK_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} ${OGG_INCLUDE_DIR})