[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15226] branches/soc-2007-hcube/intern/ soundsystem/SConscript: fix scons include error

Csaba Hruska csaba.hruska at gmail.com
Sat Jun 14 22:34:46 CEST 2008


Revision: 15226
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15226
Author:   hcube
Date:     2008-06-14 22:34:40 +0200 (Sat, 14 Jun 2008)

Log Message:
-----------
fix scons include error

Modified Paths:
--------------
    branches/soc-2007-hcube/intern/soundsystem/SConscript

Modified: branches/soc-2007-hcube/intern/soundsystem/SConscript
===================================================================
--- branches/soc-2007-hcube/intern/soundsystem/SConscript	2008-06-14 18:57:42 UTC (rev 15225)
+++ branches/soc-2007-hcube/intern/soundsystem/SConscript	2008-06-14 20:34:40 UTC (rev 15226)
@@ -4,41 +4,37 @@
 
 sources = env.Glob('./*.cpp')
 incs = '. '+ env['BF_TINYSND_INC']
-print incs
 defs = ''
 
+if env['WITH_BF_SAMPLERATE']:
+    incs += ' samplerate ' + env['BF_SAMPLERATE_INC']
+    defs += ' WITH_SAMPLERATE'
+
 if env['WITH_BF_SDL']:
-    #sources += env.Glob('sdl/*.cpp')
     incs += ' sdl ' + env['BF_SDL_INC']
     defs += ' WITH_SDL'
 
 if env['WITH_BF_PORTAUDIO']:
-    #sources += env.Glob('portaudio/*.cpp')
     incs += ' portaudio ' + env['BF_PORTAUDIO_INC']
     defs += ' WITH_PORTAUDIO'
 
 if env['WITH_BF_JACK']:
-    #sources += env.Glob('jack/*.cpp')
     incs += ' jack ' + env['BF_JACK_INC']
     defs += ' WITH_JACK'
 
 if env['WITH_BF_SNDFILE']:
-    #sources += env.Glob('sndfile/*.cpp')
     incs += ' sndfile ' + env['BF_SNDFILE_INC']
     defs += ' WITH_SNDFILE'
 
 if env['WITH_BF_FFMPEG']:
-    #sources += env.Glob('ffmpeg/*.cpp')
     incs += ' ffmpeg ' + env['BF_FFMPEG_INC']
     defs += ' WITH_FFMPEG'
 
 if env['WITH_BF_MAD']:
-    #sources += env.Glob('mad/*.cpp')
     incs += ' mad ' + env['BF_MAD_INC']
     defs += ' WITH_MAD'
 
 if env['WITH_BF_VORBIS']:
-    #sources += env.Glob('vorbis/*.cpp')
     incs += ' vorbis ' + env['BF_VORBIS_INC']
     defs += ' WITH_VORBIS'
 





More information about the Bf-blender-cvs mailing list