Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (13 sloc) 0.593 kB
Import('env')
libName = 'expat'
srcDir = 'lib/'
variantDir = env['objDir'] + env['configurationBaseName'] + '/'
outputDir = env['libDir'] + env['configurationBaseName'] + '/'
targetPath = outputDir + libName
incDirs = ['include/']
src = [ variantDir + str(p) for p in Glob(srcDir + '*.c')]
VariantDir(variant_dir=variantDir + srcDir, src_dir=srcDir, duplicate=False)
if env['SHAREDLIB']:
SharedLibrary(target=targetPath, source=src, CPPPATH=incDirs, CCFLAGS=env['CPPFLAGS'])
else:
StaticLibrary(target=targetPath, source=src, CPPPATH=incDirs, CCFLAGS=env['CPPFLAGS'])
Jump to Line
Something went wrong with that request. Please try again.