13
0
livetrax/libs/cassowary/SConscript
Taybin Rutkin 98fca2dee0 Cleaner use of scon and yacc/bison.
git-svn-id: svn://localhost/trunk/ardour2@11 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-05-17 20:36:12 +00:00

33 lines
723 B
Python

# -*- python -*-
Import('env libraries')
cassowary = env.Copy(YACCFLAGS="-d")
domain = 'libcassowary'
cassowary.Append(DOMAIN=domain,MAJOR=0,MINOR=60,MICRO=3)
cassowary_files = Split("""
ClAbstractVariable.cc
ClConstraint.cc
ClLinearExpression.cc
ClSolver.cc
ClSimplexSolver.cc
ClStrength.cc
ClSymbolicWeight.cc
ClTableau.cc
ClVariable.cc
ClFloatVariable.cc
ClSlackVariable.cc
ClDummyVariable.cc
ClReader.cc
ClReader-lex.cc
""")
cassowary.Append(CCFLAGS="-D_REENTRANT")
cassowary.CXXFile(target = ['ClReader.cc', 'ClReader.cc.h'], source = 'ClReader.yy')
cassowary.CXXFile(target = 'ClReader-lex.cc', source = 'ClReader.ll')
libcassowary = cassowary.StaticLibrary('cassowary', cassowary_files)
Default(libcassowary)