Change: #842 Added some source groups to mimic VS SLNs.

This commit is contained in:
mattraykowski 2010-07-23 13:54:42 -06:00
parent f76025cfac
commit 27ec384cb8
2 changed files with 42 additions and 0 deletions

View file

@ -1,5 +1,21 @@
FILE(GLOB SRC *.cpp *.h) 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}) NL_TARGET_DRIVER(nel_drv_openal ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${OPENAL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${OPENAL_INCLUDE_DIR})

View file

@ -1,5 +1,31 @@
FILE(GLOB SRC *.cpp *.h) 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}) NL_TARGET_DRIVER(nel_drv_xaudio2 ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${DXSDK_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} ${OGG_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${DXSDK_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} ${OGG_INCLUDE_DIR})