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

Default Input Path Quality of Life Improvement #11

Merged
merged 1 commit into from
May 28, 2024

Conversation

a3ng7n
Copy link

@a3ng7n a3ng7n commented May 28, 2024

Looks for input files relative to the executable path instead of cwd. Since all examples in this fork have been moved to examples/, the default behavior is to set InOutPath to /path/to/42/examples/InOut/.

Still retains argument functionality; i.e. argv[1] and argv[2] can still be used to set the input file paths to arbitrary directories. Further, the original functionality of defaulting to looking at cwd can be achieved by accordingly setting the DEFAULT_CASE_PATH/DEFAULT_MODEL_PATH variables in the makefile.

Functionality when compiling with the RBTFLAG is unaffected.

Also adds a couple helper functions to iokit.

@a3ng7n a3ng7n merged commit 9d85769 into master May 28, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant