Please note:The SCons wiki is in read-only mode due to ongoing spam/DoS issues. Also, new account creation is currently disabled. We are looking into alternative wiki hosts.

CXXFile() builds a lexer from a lex file, typically ending with '.ll'.

## Beginning of script
CXXFile( target='lex.yy.cpp', source='parser.ll' );

The result will be a C++ file named 'lex.yy.cpp' which you can then compile and link with your project.

CXXFile() (last edited 2008-03-12 02:47:03 by localhost)