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 *****
39 LIST(APPEND INC ffmpeg)
40 LIST(APPEND INC ${FFMPEG_INC})
41 FILE(GLOB FFMPEGSRC ffmpeg/*.cpp)
42 ADD_DEFINITIONS(-DWITH_FFMPEG)
47 LIST(APPEND INC ${SDL_INCLUDE_DIR})
48 FILE(GLOB SDLSRC SDL/*.cpp)
49 ADD_DEFINITIONS(-DWITH_SDL)
53 LIST(APPEND INC OpenAL)
54 LIST(APPEND INC ${OPENAL_INCLUDE_DIR})
55 FILE(GLOB OPENALSRC OpenAL/*.cpp)
56 ADD_DEFINITIONS(-DWITH_OPENAL)
61 LIST(APPEND INC ${JACK_INC})
62 FILE(GLOB JACKSRC jack/*.cpp)
63 ADD_DEFINITIONS(-DWITH_JACK)
67 LIST(APPEND INC sndfile)
68 LIST(APPEND INC ${SNDFILE_INC})
69 FILE(GLOB SNDFILESRC sndfile/*.cpp)
70 ADD_DEFINITIONS(-DWITH_SNDFILE)
74 # SET(INC ${INC} fftw ${FFTW3_INC})
75 # FILE(GLOB FFTW3SRC fftw/*.cpp)
76 # ADD_DEFINITIONS(-DWITH_FFTW3)
80 LIST(APPEND INC Python)
81 LIST(APPEND INC ${PYTHON_INC})
82 FILE(GLOB PYTHONSRC Python/*.cpp)
84 ADD_DEFINITIONS(-DDISABLE_PYTHON)
87 SET(SRC ${SRC} ${FFMPEGSRC} ${SNDFILESRC} ${FFTW3SRC} ${SDLSRC} ${OPENALSRC} ${JACKSRC} ${PYTHONSRC})
89 BLENDERLIB(bf_intern_audaspace "${SRC}" "${INC}")