Move alhelpers and alffmpeg code to a common sub-directory
This commit is contained in:
+3
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user