2009-08-09 21:16:39 +00:00
|
|
|
# ***** BEGIN LGPL LICENSE BLOCK *****
|
|
|
|
#
|
2011-06-18 14:12:54 +00:00
|
|
|
# Copyright 2009 Jrg Hermann Mller
|
2009-08-09 21:16:39 +00:00
|
|
|
#
|
|
|
|
# This file is part of AudaSpace.
|
|
|
|
#
|
|
|
|
# AudaSpace is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# AudaSpace is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# along with AudaSpace. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
# ***** END LGPL LICENSE BLOCK *****
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(INC
|
2010-09-06 10:15:41 +00:00
|
|
|
.
|
2011-05-31 01:15:44 +00:00
|
|
|
FX
|
2011-07-17 09:11:13 +00:00
|
|
|
intern
|
2011-05-27 23:33:40 +00:00
|
|
|
../ffmpeg
|
2010-09-06 10:15:41 +00:00
|
|
|
)
|
2009-08-09 21:16:39 +00:00
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
set(INC_SYS
|
2011-06-18 14:12:54 +00:00
|
|
|
${PTHREADS_INCLUDE_DIRS}
|
2012-11-05 14:24:35 +00:00
|
|
|
${BOOST_INCLUDE_DIR}
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
FX/AUD_AccumulatorFactory.cpp
|
2012-12-11 05:57:42 +00:00
|
|
|
FX/AUD_BandpassCalculator.cpp
|
2010-10-23 04:05:55 +00:00
|
|
|
FX/AUD_BaseIIRFilterReader.cpp
|
2012-12-10 16:58:47 +00:00
|
|
|
FX/AUD_ButterworthCalculator.cpp
|
2010-10-23 04:05:55 +00:00
|
|
|
FX/AUD_ButterworthFactory.cpp
|
|
|
|
FX/AUD_CallbackIIRFilterReader.cpp
|
|
|
|
FX/AUD_DelayFactory.cpp
|
|
|
|
FX/AUD_DelayReader.cpp
|
|
|
|
FX/AUD_DoubleFactory.cpp
|
|
|
|
FX/AUD_DoubleReader.cpp
|
2011-06-21 20:35:09 +00:00
|
|
|
FX/AUD_DynamicIIRFilterFactory.cpp
|
|
|
|
FX/AUD_DynamicIIRFilterReader.cpp
|
2010-10-23 04:05:55 +00:00
|
|
|
FX/AUD_EffectFactory.cpp
|
|
|
|
FX/AUD_EffectReader.cpp
|
|
|
|
FX/AUD_EnvelopeFactory.cpp
|
|
|
|
FX/AUD_FaderFactory.cpp
|
|
|
|
FX/AUD_FaderReader.cpp
|
2012-12-10 16:58:47 +00:00
|
|
|
FX/AUD_HighpassCalculator.cpp
|
2010-10-23 04:05:55 +00:00
|
|
|
FX/AUD_HighpassFactory.cpp
|
|
|
|
FX/AUD_IIRFilterFactory.cpp
|
|
|
|
FX/AUD_IIRFilterReader.cpp
|
|
|
|
FX/AUD_LimiterFactory.cpp
|
|
|
|
FX/AUD_LimiterReader.cpp
|
|
|
|
FX/AUD_LoopFactory.cpp
|
|
|
|
FX/AUD_LoopReader.cpp
|
2012-12-10 16:58:47 +00:00
|
|
|
FX/AUD_LowpassCalculator.cpp
|
2010-10-23 04:05:55 +00:00
|
|
|
FX/AUD_LowpassFactory.cpp
|
|
|
|
FX/AUD_PingPongFactory.cpp
|
|
|
|
FX/AUD_PitchFactory.cpp
|
|
|
|
FX/AUD_PitchReader.cpp
|
|
|
|
FX/AUD_RectifyFactory.cpp
|
|
|
|
FX/AUD_ReverseFactory.cpp
|
|
|
|
FX/AUD_ReverseReader.cpp
|
|
|
|
FX/AUD_SquareFactory.cpp
|
|
|
|
FX/AUD_SumFactory.cpp
|
|
|
|
FX/AUD_SuperposeFactory.cpp
|
|
|
|
FX/AUD_SuperposeReader.cpp
|
|
|
|
FX/AUD_VolumeFactory.cpp
|
2011-09-20 18:29:19 +00:00
|
|
|
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_3DMath.h
|
2011-07-26 13:56:31 +00:00
|
|
|
intern/AUD_AnimateableProperty.cpp
|
|
|
|
intern/AUD_AnimateableProperty.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_Buffer.cpp
|
|
|
|
intern/AUD_Buffer.h
|
|
|
|
intern/AUD_BufferReader.cpp
|
|
|
|
intern/AUD_BufferReader.h
|
|
|
|
intern/AUD_C-API.cpp
|
|
|
|
intern/AUD_C-API.h
|
|
|
|
intern/AUD_ChannelMapperFactory.cpp
|
|
|
|
intern/AUD_ChannelMapperFactory.h
|
|
|
|
intern/AUD_ChannelMapperReader.cpp
|
|
|
|
intern/AUD_ChannelMapperReader.h
|
|
|
|
intern/AUD_ConverterFactory.cpp
|
|
|
|
intern/AUD_ConverterFactory.h
|
|
|
|
intern/AUD_ConverterFunctions.cpp
|
|
|
|
intern/AUD_ConverterFunctions.h
|
|
|
|
intern/AUD_ConverterReader.cpp
|
|
|
|
intern/AUD_ConverterReader.h
|
|
|
|
intern/AUD_FileFactory.cpp
|
|
|
|
intern/AUD_FileFactory.h
|
2011-08-06 17:57:20 +00:00
|
|
|
intern/AUD_FileWriter.cpp
|
|
|
|
intern/AUD_FileWriter.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_I3DDevice.h
|
2011-06-21 20:21:43 +00:00
|
|
|
intern/AUD_I3DHandle.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_IDevice.h
|
|
|
|
intern/AUD_IFactory.h
|
2011-06-21 20:21:43 +00:00
|
|
|
intern/AUD_IHandle.h
|
2012-10-24 21:33:44 +00:00
|
|
|
intern/AUD_ILockable.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_IReader.h
|
2011-08-06 17:57:20 +00:00
|
|
|
intern/AUD_IWriter.h
|
2011-08-04 13:47:15 +00:00
|
|
|
intern/AUD_JOSResampleFactory.cpp
|
|
|
|
intern/AUD_JOSResampleFactory.h
|
|
|
|
intern/AUD_JOSResampleReader.cpp
|
|
|
|
intern/AUD_JOSResampleReader.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_LinearResampleFactory.cpp
|
|
|
|
intern/AUD_LinearResampleFactory.h
|
|
|
|
intern/AUD_LinearResampleReader.cpp
|
|
|
|
intern/AUD_LinearResampleReader.h
|
|
|
|
intern/AUD_Mixer.cpp
|
|
|
|
intern/AUD_Mixer.h
|
|
|
|
intern/AUD_MixerFactory.cpp
|
|
|
|
intern/AUD_MixerFactory.h
|
2012-10-24 21:33:44 +00:00
|
|
|
intern/AUD_MutexLock.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_NULLDevice.cpp
|
|
|
|
intern/AUD_NULLDevice.h
|
|
|
|
intern/AUD_PyInit.h
|
|
|
|
intern/AUD_ReadDevice.cpp
|
|
|
|
intern/AUD_ReadDevice.h
|
2011-08-30 10:09:10 +00:00
|
|
|
intern/AUD_ResampleFactory.h
|
2011-06-21 20:29:02 +00:00
|
|
|
intern/AUD_ResampleReader.cpp
|
|
|
|
intern/AUD_ResampleReader.h
|
2012-11-05 14:24:35 +00:00
|
|
|
intern/AUD_Sequencer.cpp
|
|
|
|
intern/AUD_Sequencer.h
|
2011-07-26 13:56:31 +00:00
|
|
|
intern/AUD_SequencerEntry.cpp
|
|
|
|
intern/AUD_SequencerEntry.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_SequencerFactory.cpp
|
|
|
|
intern/AUD_SequencerFactory.h
|
2011-07-26 13:56:31 +00:00
|
|
|
intern/AUD_SequencerHandle.cpp
|
|
|
|
intern/AUD_SequencerHandle.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/AUD_SequencerReader.cpp
|
|
|
|
intern/AUD_SequencerReader.h
|
|
|
|
intern/AUD_SilenceFactory.cpp
|
|
|
|
intern/AUD_SilenceFactory.h
|
|
|
|
intern/AUD_SilenceReader.cpp
|
|
|
|
intern/AUD_SilenceReader.h
|
|
|
|
intern/AUD_SinusFactory.cpp
|
|
|
|
intern/AUD_SinusFactory.h
|
|
|
|
intern/AUD_SinusReader.cpp
|
|
|
|
intern/AUD_SinusReader.h
|
|
|
|
intern/AUD_SoftwareDevice.cpp
|
|
|
|
intern/AUD_SoftwareDevice.h
|
|
|
|
intern/AUD_Space.h
|
|
|
|
intern/AUD_StreamBufferFactory.cpp
|
|
|
|
intern/AUD_StreamBufferFactory.h
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
FX/AUD_AccumulatorFactory.h
|
2012-12-11 05:57:42 +00:00
|
|
|
FX/AUD_BandpassCalculator.h
|
2010-11-29 04:35:56 +00:00
|
|
|
FX/AUD_BaseIIRFilterReader.h
|
2012-12-10 16:58:47 +00:00
|
|
|
FX/AUD_ButterworthCalculator.h
|
2010-11-29 04:35:56 +00:00
|
|
|
FX/AUD_ButterworthFactory.h
|
|
|
|
FX/AUD_CallbackIIRFilterReader.h
|
|
|
|
FX/AUD_DelayFactory.h
|
|
|
|
FX/AUD_DelayReader.h
|
|
|
|
FX/AUD_DoubleFactory.h
|
|
|
|
FX/AUD_DoubleReader.h
|
2012-11-05 14:24:35 +00:00
|
|
|
FX/AUD_IDynamicIIRFilterCalculator.h
|
2011-06-21 20:35:09 +00:00
|
|
|
FX/AUD_DynamicIIRFilterFactory.h
|
|
|
|
FX/AUD_DynamicIIRFilterReader.h
|
2010-11-29 04:35:56 +00:00
|
|
|
FX/AUD_EffectFactory.h
|
|
|
|
FX/AUD_EffectReader.h
|
|
|
|
FX/AUD_EnvelopeFactory.h
|
|
|
|
FX/AUD_FaderFactory.h
|
|
|
|
FX/AUD_FaderReader.h
|
2012-12-10 16:58:47 +00:00
|
|
|
FX/AUD_HighpassCalculator.h
|
2010-11-29 04:35:56 +00:00
|
|
|
FX/AUD_HighpassFactory.h
|
|
|
|
FX/AUD_IIRFilterFactory.h
|
|
|
|
FX/AUD_IIRFilterReader.h
|
|
|
|
FX/AUD_LimiterFactory.h
|
|
|
|
FX/AUD_LimiterReader.h
|
|
|
|
FX/AUD_LoopFactory.h
|
|
|
|
FX/AUD_LoopReader.h
|
2012-12-10 16:58:47 +00:00
|
|
|
FX/AUD_LowpassCalculator.h
|
2010-11-29 04:35:56 +00:00
|
|
|
FX/AUD_LowpassFactory.h
|
|
|
|
FX/AUD_PingPongFactory.h
|
|
|
|
FX/AUD_PitchFactory.h
|
|
|
|
FX/AUD_PitchReader.h
|
|
|
|
FX/AUD_RectifyFactory.h
|
|
|
|
FX/AUD_ReverseFactory.h
|
|
|
|
FX/AUD_ReverseReader.h
|
|
|
|
FX/AUD_SquareFactory.h
|
|
|
|
FX/AUD_SumFactory.h
|
|
|
|
FX/AUD_SuperposeFactory.h
|
|
|
|
FX/AUD_SuperposeReader.h
|
|
|
|
FX/AUD_VolumeFactory.h
|
2010-09-06 10:15:41 +00:00
|
|
|
)
|
2009-08-09 21:16:39 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_CODEC_FFMPEG)
|
|
|
|
add_definitions(-DWITH_FFMPEG)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
ffmpeg
|
|
|
|
)
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
${FFMPEG_INCLUDE_DIRS}
|
|
|
|
)
|
2011-05-31 01:15:44 +00:00
|
|
|
list(APPEND SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
ffmpeg/AUD_FFMPEGFactory.cpp
|
|
|
|
ffmpeg/AUD_FFMPEGReader.cpp
|
2011-08-06 17:57:20 +00:00
|
|
|
ffmpeg/AUD_FFMPEGWriter.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
ffmpeg/AUD_FFMPEGFactory.h
|
|
|
|
ffmpeg/AUD_FFMPEGReader.h
|
2011-08-06 17:57:20 +00:00
|
|
|
ffmpeg/AUD_FFMPEGWriter.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2012-05-14 13:31:38 +00:00
|
|
|
|
|
|
|
remove_strict_flags_file(
|
|
|
|
ffmpeg/AUD_FFMPEGFactory.cpp
|
|
|
|
ffmpeg/AUD_FFMPEGReader.cpp
|
|
|
|
ffmpeg/AUD_FFMPEGWriter.cpp
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-08-09 21:16:39 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_SDL)
|
|
|
|
add_definitions(-DWITH_SDL)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
SDL
|
|
|
|
)
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
${SDL_INCLUDE_DIR}
|
|
|
|
)
|
2011-05-31 01:15:44 +00:00
|
|
|
list(APPEND SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
SDL/AUD_SDLDevice.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
SDL/AUD_SDLDevice.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-08-09 21:16:39 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_OPENAL)
|
|
|
|
add_definitions(-DWITH_OPENAL)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
OpenAL
|
|
|
|
)
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
${OPENAL_INCLUDE_DIR}
|
|
|
|
)
|
2011-05-31 01:15:44 +00:00
|
|
|
list(APPEND SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
OpenAL/AUD_OpenALDevice.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
OpenAL/AUD_OpenALDevice.h
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-08-09 21:16:39 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_JACK)
|
|
|
|
add_definitions(-DWITH_JACK)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
jack
|
|
|
|
)
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
${JACK_INCLUDE_DIRS}
|
|
|
|
)
|
2011-05-31 01:15:44 +00:00
|
|
|
list(APPEND SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
jack/AUD_JackDevice.cpp
|
2013-03-27 07:19:54 +00:00
|
|
|
jack/AUD_JackLibrary.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
jack/AUD_JackDevice.h
|
2013-03-27 07:19:54 +00:00
|
|
|
jack/AUD_JackLibrary.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2013-03-27 07:19:54 +00:00
|
|
|
|
|
|
|
if(WITH_JACK_DYNLOAD)
|
|
|
|
add_definitions(-DWITH_JACK_DYNLOAD)
|
|
|
|
endif()
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-08-16 14:53:11 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_CODEC_SNDFILE)
|
|
|
|
add_definitions(-DWITH_SNDFILE)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
sndfile
|
|
|
|
)
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
${SNDFILE_INCLUDE_DIRS}
|
|
|
|
)
|
2011-05-31 09:27:33 +00:00
|
|
|
list(APPEND SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
sndfile/AUD_SndFileFactory.cpp
|
|
|
|
sndfile/AUD_SndFileReader.cpp
|
2011-08-06 17:57:20 +00:00
|
|
|
sndfile/AUD_SndFileWriter.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
sndfile/AUD_SndFileFactory.h
|
|
|
|
sndfile/AUD_SndFileReader.h
|
2011-08-06 17:57:20 +00:00
|
|
|
sndfile/AUD_SndFileWriter.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-08-21 19:39:28 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_FFTW3 AND FALSE)
|
|
|
|
add_definitions(-DWITH_FFTW3)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
fftw
|
|
|
|
)
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
${FFTW3_INCLUDE_DIRS}
|
|
|
|
)
|
2011-05-31 01:15:44 +00:00
|
|
|
list(APPEND SRC
|
2010-11-29 04:35:56 +00:00
|
|
|
fftw/AUD_BandPassFactory.cpp
|
|
|
|
fftw/AUD_BandPassReader.cpp
|
|
|
|
|
|
|
|
fftw/AUD_BandPassFactory.h
|
|
|
|
fftw/AUD_BandPassReader.h
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-12-28 10:15:35 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_PYTHON)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
Python
|
|
|
|
)
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
${PYTHON_INCLUDE_DIRS}
|
|
|
|
)
|
2011-05-31 01:15:44 +00:00
|
|
|
list(APPEND SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
Python/AUD_PyAPI.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
Python/AUD_PyAPI.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DWITH_PYTHON)
|
|
|
|
endif()
|
2010-07-09 12:35:40 +00:00
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
blender_add_lib(bf_intern_audaspace "${SRC}" "${INC}" "${INC_SYS}")
|