-
Notifications
You must be signed in to change notification settings - Fork 23
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
Allow the user to define a specific bin output directory #17
Comments
Added |
Works perfectly, thank you! |
Are you considering the other part of the issue?
|
Such thing was earlier (also in cppan). It is disabled at the moment. |
The current behavior of
sw
is to output bin files to.sw/out/<hash>/
.This is not ideal because the user doesn't know the value of
<hash>
. We have to look at the build output to see where the file was outputted.My suggestion is to add a CLI option like
--out-dir
which could be set to any directory (existing or not).sw
would then output everything there.This could also be specified inside the
sw.cpp
, allowing for consistent setup without relying on the user to remember to use the CLI option.We could also have both a CLI option and a
sw.cpp
config but the CLI option takes precedence, for example.The text was updated successfully, but these errors were encountered: