Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antlr broken build if grammar is in subfolders #3865

Open
Enerccio opened this issue Sep 5, 2022 · 1 comment
Open

Antlr broken build if grammar is in subfolders #3865

Enerccio opened this issue Sep 5, 2022 · 1 comment

Comments

@Enerccio
Copy link

Enerccio commented Sep 5, 2022

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

@Enerccio
Copy link
Author

Enerccio commented Sep 5, 2022

All you have to do to fix it is to have -Xexact-output-dir in FindANTLR.cmake add_custom_command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant