usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/SConstruct


From: David Lau
Subject: [Usata-commits] Changes to usata2/SConstruct
Date: Wed, 23 Feb 2005 12:02:28 -0500

Index: usata2/SConstruct
diff -u usata2/SConstruct:1.16 usata2/SConstruct:1.17
--- usata2/SConstruct:1.16      Tue Jan 25 08:28:27 2005
+++ usata2/SConstruct   Wed Feb 23 17:02:26 2005
@@ -10,12 +10,15 @@
 # included in the software distribution, or visit
 # http://www.fsf.org/licenses/gpl.html.
 #
-# $Id: SConstruct,v 1.16 2005/01/25 08:28:27 skunix Exp $
+# $Id: SConstruct,v 1.17 2005/02/23 17:02:26 skunix Exp $
 
 import os
 from glob import glob
+SourceGlobs = [ 'src/*.cpp', 'src/objects/*.cpp', 'src/sdl/*.cpp', 
'src/xml/*.cpp' ]
 
-UsataSources = glob('src/*.cpp') + glob('src/objects/*.cpp') + 
glob('src/sdl/*.cpp')
+UsataSources = list()
+for Xglob in SourceGlobs:
+       UsataSources += glob(Xglob)
 
 BoostLibs = ["program_options", "signals", "thread", "filesystem"]
 
@@ -39,5 +42,6 @@
 Env.Append(LIBPATH=XLibPaths)
 Env.Append(LIBS=BoostLibs)
 Env.Append(LIBS=OpenGLLibs)
+Env.Append(LIBS=['expat'])
 Env.ParseConfig('sdl-config --cflags --libs')
 Env.ParseConfig('Magick++-config --cppflags --libs')




reply via email to

[Prev in Thread] Current Thread [Next in Thread]