-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Import a build.zig file as a build step #368
Comments
Why does it need to be a separate build file? In the example you linked, we're testing the zig build system itself which is the reason for running zig build in a subprocess. In your case, can you not import the file and pass it the Builder reference? |
Related: #353 |
No. For example, the paths are going to be inconsistent: relative to the root of the project when building the module from the main You should be able to |
Related issue: if two executables are part of the same build, and you call
|
The |
Kinda like this:
https://github.com/zig-lang/zig/blob/master/test/build_examples.zig
But included in the standard build system.
The text was updated successfully, but these errors were encountered: