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

CMakeLists.txt doesn't check for ragel #48

Open
ryandesign opened this issue Nov 16, 2022 · 2 comments
Open

CMakeLists.txt doesn't check for ragel #48

ryandesign opened this issue Nov 16, 2022 · 2 comments

Comments

@ryandesign
Copy link
Contributor

If ragel is not installed, running cmake succeeds but running make fails with:

/bin/sh: ragel: command not found

Although ragel is mentioned as a requirement in mpw's readme, it would be an improvement if CMakeLists.txt checked for ragel and any other dependencies.

@ksherlock
Copy link
Owner

The CMakeList has been updated to check for ragel and give an error if not found. the only other odd dependency is lemon and that only runs if it's found.

843ea27

@ryandesign
Copy link
Contributor Author

The CMakeList has been updated to check for ragel and give an error if not found.

Thanks, that works.

the only other odd dependency is lemon and that only runs if it's found.

Nitpick: If ragel is now always run quoted as "${RAGEL}", should lemon always be run quoted as "${LEMON}"?

Is there a way to tell the build system not to run lemon, even if it is found? This is important for reproducibility.

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

2 participants