antlr4
antlr4 copied to clipboard
Antlr broken build if grammar is in subfolders
Doesn't matter if OUTPUT_DIRECTORY is specified or not, the files will be generated in subfolders but cmake $ANTLR_EgsGrammar_CXX_OUTPUTS} will contain no subfolders resulting in error No such file or directory
All you have to do to fix it is to have -Xexact-output-dir in FindANTLR.cmake add_custom_command