File tree 4 files changed +180
-143
lines changed
4 files changed +180
-143
lines changed Original file line number Diff line number Diff line change
1
+ # Contributing to Boost Libraries Zig Build System
2
+
3
+ ## Getting Started
4
+
5
+ 1. Ensure you have [Zig](https://ziglang.org/download) v0.14.0 or master installed.
6
+
7
+ ## Development Options
8
+
9
+ ### Build Configuration Options
10
+
11
+ - `-Dtarget`: Specify CPU architecture, OS, and ABI
12
+ - `-Dcpu`: Target CPU features
13
+ - `-Doptimize`: Control performance, safety, or binary size
14
+ - Library-specific flags (e.g., `-Dcontext`, `-Djson`)
15
+ - `-Dshared`: Build as shared library
16
+
17
+ ## Updating Dependencies
18
+
19
+ 1. Modify `update_zon.zig`
20
+ 2. Update Boost version or URLs
21
+ 3. Run:
22
+
23
+ ```console
24
+ zig run -fsingle-threaded update_zon.zig
25
+ ```
26
+
27
+ ## Submitting Contributions
28
+
29
+ 1. Fork the repository
30
+ 2. Create a feature branch
31
+ 3. Make your changes
32
+ 4. Ensure all tests pass
33
+ 5. Submit a pull request
34
+
35
+ ## License
36
+
37
+ Contributions are subject to the project's [LICENSE](LICENSE)
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Replacing the [CMake](https://cmake.org/) and [B2](https://www.bfgroup.xyz/b2/)
6
6
7
7
8
8
> [ !IMPORTANT]
9
- > For C++ projects, ` zig c++ ` uses llvm- libunwind + llvm- libc++ (static-linking ) by default.
10
- > Except, for MSVC target ( ` -nostdlib++ ` ) .
9
+ > For C++ projects, ` zig c++ ` uses LLVM's libunwind + libc++ (statically linked ) by default.
10
+ > This applies to all targets except MSVC, which uses ` -nostdlib++ ` instead .
11
11
12
12
13
13
### Requirements
You can’t perform that action at this time.
0 commit comments