Source

dbsdev / temp / test_threadpool / SConscript

# coding: utf-8
# 2011, 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 = ['.',
	                              '#/sources/utils',
                                  '#/sources/utils/threadpool'] )
env_local.AppendUnique(LIBPATH = ['../../sources/utils/threadpool'] )
                       
# add 3rdparty parameters
thirdparty.amp.addAmpToEnv(env_local)
thirdparty.osdeps.addOSToEnv(env_local)

# get list of files
files_test = Glob('*.c*')

# additional libraries
libs = []
libs.append('threadpool')
env_local.AppendUnique(LIBS=libs)

threadpool_test  = env_local.Program('test_threadpool',files_test,PDB='test_threadpool.pdb')

Return('threadpool_test')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.