File: bison.pri

package info (click to toggle)
openscad 2021.01-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 36,012 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (10 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
{
  bison.name = Bison ${QMAKE_FILE_IN}
  bison.input = BISONSOURCES
  bison.output = $${OBJECTS_DIR}/${QMAKE_FILE_BASE}.cxx
  bison.commands = bison -d -p ${QMAKE_FILE_BASE} -o $${OBJECTS_DIR}/${QMAKE_FILE_BASE}.cxx --defines=$${OBJECTS_DIR}/${QMAKE_FILE_BASE}.hxx ${QMAKE_FILE_IN}
  bison.CONFIG += target_predeps
  bison.variable_out = GENERATED_SOURCES
  silent:bison.commands = @echo Bison ${QMAKE_FILE_IN} && $$bison.commands
  QMAKE_EXTRA_COMPILERS += bison
}