Cleaner use of scon and yacc/bison.
git-svn-id: svn://localhost/trunk/ardour2@11 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0935e8ec72
commit
98fca2dee0
@ -1,7 +1,7 @@
|
||||
# -*- python -*-
|
||||
Import('env libraries')
|
||||
|
||||
cassowary = env.Copy()
|
||||
cassowary = env.Copy(YACCFLAGS="-d")
|
||||
|
||||
domain = 'libcassowary'
|
||||
cassowary.Append(DOMAIN=domain,MAJOR=0,MINOR=60,MICRO=3)
|
||||
@ -23,7 +23,9 @@ ClReader.cc
|
||||
ClReader-lex.cc
|
||||
""")
|
||||
|
||||
cassowary.Command('ClReader.cc', 'ClReader.yy', 'bison -y -d -pcl --output-file $TARGET $SOURCES')
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user