Skip to content
This repository has been archived by the owner on Jan 13, 2019. It is now read-only.

Build files suck and are nasty #20

Open
owenthewizard opened this issue Feb 18, 2018 · 3 comments
Open

Build files suck and are nasty #20

owenthewizard opened this issue Feb 18, 2018 · 3 comments

Comments

@owenthewizard
Copy link
Owner

For example, take a look at replace_yucc_defaults.sh. Disgusting. A GNU autotools setup would be preferred.

@samuelhnrq
Copy link

There is a high chance this is way out of my league, but I don't even bash. Why that script? What does it fix? How a different build tool would help?

@owenthewizard
Copy link
Owner Author

@samosaara The script replaces the DEFAULT_FOO values in the help menu with the actual compile-time default. I don't know for sure if autotools or another tool has a better way.

@samuelhnrq
Copy link

Hm... So the thing is, you have a header file with the default values and the help file should reflect those values? And currently you replace the values through a bash script?

If I understand the problem correctly, I think I would be able to make a meson build setup. But I guess that would involve setting the values in the meson file (witch has a very simple DSL) which then would be able to configure both the header and the help file. More specifically this

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

No branches or pull requests

2 participants