Conversation
|
Hmmm, I think people have requested more flexibility here, namely, the ability to set the default install directory to be relative to different locations. Maybe something like this? |
Is there an issue/PR where this has been discussed, so I know the scope of what people have been asking for? For something more complex than just changing the subdirectory that the current master branch uses I don't think a single build option with an embedded DSL is the right way to go. I see a few systems that could be reasonable supported and chosen between by build options:
|
I've implemented this, but I haven't added these options to the CI testing (and since I don't have a windows machine to test on there's always a chance I messed up the implementation of |
|
This is a strategy I can get behind. |
|
@marler8997 What are your thoughts on testing these build options in CI? The current CI setup uses the |
8475fa0 to
b460ca2
Compare
Extracted from #139.
This PR add a new build option
-Ddefault-dirthat sets the default installation directory. It defaults to "zig" which means that this PR does not change any behaviour if the option is not provided tozig build.