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

disambiguate Main modules #28

Open
bergey opened this issue Dec 15, 2019 · 0 comments
Open

disambiguate Main modules #28

bergey opened this issue Dec 15, 2019 · 0 comments

Comments

@bergey
Copy link

bergey commented Dec 15, 2019

I'm using graphmod on several packages that define multiple executables, each module implicitly named Main. graphmod does a fine job when each executable has an explicit (unique) module declaration, or when there is only one Main. With multiple Mains, I'm not getting edges drawn for any of them.

Would you add a feature to better handle multiple Main modules?

I have a few ideas of what this might look like:

  • when encountering multiple Mains, automatically substitute file name
  • same as above, but only with a command line option
  • same as above, but prepend file name, like filename:Main
  • same as above, only for files without explicit module declaration

Any of these would meet my needs.

ramirez7 added a commit to ramirez7/graphex that referenced this issue Aug 29, 2023
exe Main modules are prefixed with the exe name, fixing this
old graphmod bug: yav/graphmod#28
ramirez7 added a commit to dustin/graphex that referenced this issue Sep 5, 2023
exe Main modules are prefixed with the exe name, fixing this
old graphmod bug: yav/graphmod#28
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