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

Add support for .f file lists #84

Open
DeeeeLAN opened this issue Aug 6, 2020 · 1 comment
Open

Add support for .f file lists #84

DeeeeLAN opened this issue Aug 6, 2020 · 1 comment

Comments

@DeeeeLAN
Copy link

DeeeeLAN commented Aug 6, 2020

Hello,

all of our projects are bigger and so we manage the different sets of files with .f file lists to make sure we compile the right files when needed. The current configuration file appears to only support direct file paths to source code, not to file lists. It would be great to scan and parse the file lists for the source code paths so there isn't any duplication of paths that require twice as much maintenance if something changes.

@suoto
Copy link
Owner

suoto commented Sep 20, 2020

HDL Checker has means to work out dependencies and compilation sequence, so all you should need is to let it know where the files are; there's support for config files hierarchy (so a component might have its own config file and the top level project only needs to include that), wildcards and relative paths, which solve most scenarios.

For cases where this is not enough, what I've done in the past is write a config generator script -- many languages have JSON libraries and that was one of the reasons I chose it.

The problem of supporting tool specific files is that vendors don't provide an open API to read and interpret them, so supporting them can be very time consuming because it's essentially chasing a moving target and I've steered away from.

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

No branches or pull requests

2 participants