include(ragel.pri) RAGEL_FILES += path/to/my_ragel_file.cpp.rl # ... the rest of project