Added lex file and cmake build settings to it.