Source

dbsdev / sources / utils / threadpool / SConscript

Full commit
# coding: utf-8
# 2012, Davide Bacchet (davide.bacchet@gmail.com)
# $LastChangedDate: 2011-05-12 12:03:21 +0200 (Mon, 12 May 2008) $
# $LastChangedBy: dbacc $


import os, sys, fnmatch
import pyutils
import thirdparty

Import('env')
env_local = env.Clone()


            
# include dirs
env_local.AppendUnique(CPPPATH = ['.'] )


# add 3rdparty parameters
thirdparty.osdeps.addOSToEnv(env_local)
thirdparty.amp.addAmpToEnv(env_local)
                                  
# get list of files
files = []
files.append(Glob('./*.c*'))

# build library
threadpool_lib  = env_local.StaticLibrary('threadpool',files)




Return('threadpool_lib')