Move alhelpers and alffmpeg code to a common sub-directory

This commit is contained in:
Chris Robinson
2012-10-14 01:55:39 -07:00
parent 38e6bfb702
commit f7655d44a2
6 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -833,7 +833,9 @@ ENDIF()
IF(EXAMPLES)
IF(FFMPEG_FOUND)
ADD_EXECUTABLE(alstream examples/alhelpers.c examples/alffmpeg.c examples/alstream.c)
ADD_EXECUTABLE(alstream examples/common/alhelpers.c
examples/common/alffmpeg.c
examples/alstream.c)
TARGET_LINK_LIBRARIES(alstream ${FFMPEG_LIBRARIES} ${LIBNAME})
SET_TARGET_PROPERTIES(alstream PROPERTIES COMPILE_FLAGS "${FFMPEG_CFLAGS}")
INSTALL(TARGETS alstream
+2 -2
View File
@@ -34,8 +34,8 @@
#include "AL/alc.h"
#include "AL/alext.h"
#include "alhelpers.h"
#include "alffmpeg.h"
#include "common/alhelpers.h"
#include "common/alffmpeg.h"
LPALBUFFERSAMPLESSOFT palBufferSamplesSOFT = wrap_BufferSamples;