ecbuild_find_lexyacc¶
Find flex and bison (preferred) or lex and yacc.
Input variables¶
The following CMake variables can set to skip search for bison or yacc:
| SKIP_BISON: | do not search for flex and bison |
|---|---|
| SKIP_YACC: | do not search for lex and yacc |
Output variables¶
The following CMake variables are set if flex and bison were found:
| FLEX_FOUND: | flex was found |
|---|---|
| BISON_FOUND: | bison was found |
| FLEX_EXECUTABLE: | |
| path to the flex executable | |
| BISON_EXECUTABLE: | |
| path to the bison executable | |
The following CMake variables are set if lex and yacc were found:
| LEXYACC_FOUND: | Found suitable combination of bison, lex, yacc, flex |
|---|---|
| LEX_FOUND: | lex was found |
| YACC_FOUND: | yacc was found |
| LEX_EXECUTABLE: | path to the lex executable |
| YACC_EXECUTABLE: | |
| path to the yacc executable | |