source: trunk/avango-openal/SConscript @ 408

Revision 408, 2.5 KB checked in by tholt, 2 years ago (diff)

More copyright header corrections

  • Property svn:eol-style set to native
Line 
1# -*- Mode:Python -*-
2
3##########################################################################
4#                                                                        #
5# This file is part of AVANGO.                                           #
6#                                                                        #
7# Copyright 1997 - 2008 Fraunhofer-Gesellschaft zur Foerderung der       #
8# angewandten Forschung (FhG), Munich, Germany.                          #
9#                                                                        #
10# AVANGO is free software: you can redistribute it and/or modify         #
11# it under the terms of the GNU Lesser General Public License as         #
12# published by the Free Software Foundation, version 3.                  #
13#                                                                        #
14# AVANGO is distributed in the hope that it will be useful,              #
15# but WITHOUT ANY WARRANTY; without even the implied warranty of         #
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the           #
17# GNU General Public License for more details.                           #
18#                                                                        #
19# You should have received a copy of the GNU Lesser General Public       #
20# License along with AVANGO. If not, see <http://www.gnu.org/licenses/>. #
21#                                                                        #
22##########################################################################
23
24import avango.build
25
26avango.build.Environment.prepend_include_path(Dir('include').abspath)
27avango.build.Environment.prepend_library_path(Dir('.').abspath)
28local_env = avango.build.Environment()
29avango.build.add_library(local_env, 'avango-sound')
30avango.build.add_library(local_env, 'openal')
31avango.build.add_library(local_env, 'alut')
32avango.build.add_library(local_env, 'vorbisfile')
33
34
35openal_files = Split('''
36    src/OpenALSoundRenderer.cpp
37    ''')
38openal_lib = local_env.SharedLibrary('avangoOpenALSound', openal_files)
39Alias('install-openal-sound', local_env.Install(avango.build.get_library_path(), openal_lib))
40
41local_test_env = avango.build.TestEnvironment()
42local_test_env.Append(LIBS=[openal_lib])
43
44Alias('openal-sound', openal_lib)
45Alias('all', Alias('openal-sound'))
46Alias('check', Alias("check-openal-sound"))
47Alias('install', Alias('install-openal-sound'))
48
49SConscript ([
50    'include/avango/sound/openal/SConscript',
51    'src/tests/SConscript',
52    'python/SConscript'
53])
Note: See TracBrowser for help on using the repository browser.