tests: unit tests for the signature replacement
[trojita.git] / src / ragel.prf
blob142dfcc82ba732ad95e71129b9f79404ea95f9c3
1 # Definitions for using Ragel
2 # based on /usr/share/qt4/mkspecs/features/lex.prf
4     ragelinclude.name = Copy Ragel includes around
5     ragelinclude.input = RAGEL_INCLUDES
6     ragelinclude.variable_out = GENERATED_SOURCES
7     ragelinclude.commands = echo \"// dummy file\" > ${QMAKE_FILE_BASE}.ragel.included.file.cpp
8     ragelinclude.output = ${QMAKE_FILE_BASE}.ragel.included.file.cpp
9     ragelinclude.config += target_predeps
10     QMAKE_EXTRA_COMPILERS += ragelinclude
12     QMAKE_RAGELFLAGS = -C
13     ragel.name = Ragel ${QMAKE_FILE_IN}
14     ragel.input = RAGEL_SOURCES
15     ragel.variable_out = GENERATED_SOURCES
16     ragel.commands = ragel $$QMAKE_RAGELFLAGS ${QMAKE_FILE_IN} -o ${QMAKE_FILE_BASE}.ragel.cpp
17     ragel.output = ${QMAKE_FILE_BASE}.ragel.cpp
18     ragel.config += target_predeps
20     QMAKE_EXTRA_COMPILERS += ragel