blob: a311895abe4d6c4612c32bb25c3125c272d3b554 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
project {
requires += yacc
Define_Custom(YACC) {
command = yacc
commandflags = -d
postcommand = <%mv%> y.tab.c <%source_file%> <%and%> <%mv%> y.tab.h <%header_file%>
pch_postrule = 1
inputext = .yy, .y
pre_extension = .tab
source_outputext = .c, .cpp, .cxx, .cc, .C
header_outputext = .h, .hpp, .hxx, .hh
}
}
|