2 # ***** BEGIN LGPL LICENSE BLOCK *****
4 # Copyright 2009 Jörg Hermann Müller
6 # This file is part of AudaSpace.
8 # AudaSpace is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU Lesser General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
13 # AudaSpace is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU Lesser General Public License for more details.
18 # You should have received a copy of the GNU Lesser General Public License
19 # along with AudaSpace. If not, see <http://www.gnu.org/licenses/>.
21 # ***** END LGPL LICENSE BLOCK *****
23 SET(INC . intern FX SRC ${PTHREADS_INC} ${LIBSAMPLERATE_INC})
25 FILE(GLOB SRC intern/*.cpp intern/*.h FX/*.cpp SRC/*.cpp)
28 SET(INC ${INC} ffmpeg ${FFMPEG_INC})
29 FILE(GLOB FFMPEGSRC ffmpeg/*.cpp)
30 ADD_DEFINITIONS(-DWITH_FFMPEG)
34 SET(INC ${INC} SDL ${SDL_INCLUDE_DIR})
35 FILE(GLOB SDLSRC SDL/*.cpp)
36 ADD_DEFINITIONS(-DWITH_SDL)
40 SET(INC ${INC} OpenAL ${OPENAL_INCLUDE_DIR})
41 FILE(GLOB OPENALSRC OpenAL/*.cpp)
42 ADD_DEFINITIONS(-DWITH_OPENAL)
46 SET(INC ${INC} jack ${JACK_INC})
47 FILE(GLOB JACKSRC jack/*.cpp)
48 ADD_DEFINITIONS(-DWITH_JACK)
52 SET(INC ${INC} sndfile ${SNDFILE_INC})
53 FILE(GLOB SNDFILESRC sndfile/*.cpp)
54 ADD_DEFINITIONS(-DWITH_SNDFILE)
58 # SET(INC ${INC} fftw ${FFTW3_INC})
59 # FILE(GLOB FFTW3SRC fftw/*.cpp)
60 # ADD_DEFINITIONS(-DWITH_FFTW3)
64 SET(INC ${INC} Python ${PYTHON_INC})
65 FILE(GLOB PYTHONSRC Python/*.cpp)
67 ADD_DEFINITIONS(-DDISABLE_PYTHON)
70 SET(SRC ${SRC} ${FFMPEGSRC} ${SNDFILESRC} ${FFTW3SRC} ${SDLSRC} ${OPENALSRC} ${JACKSRC} ${PYTHONSRC})
72 BLENDERLIB(bf_audaspace "${SRC}" "${INC}")