@shd101wyy/yo 0.0.33 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,6 +21,10 @@ Yo aims to be **Simple** and **Fast** (around 0% - 15% slower than C).
21
21
  - [Installing Clang](#installing-clang)
22
22
  - [Linux liburing Requirement](#linux-liburing-requirement)
23
23
  - [Installing liburing (Linux)](#installing-liburing-linux)
24
+ - [pkg-config / vcpkg Requirement](#pkg-config--vcpkg-requirement)
25
+ - [Installing pkg-config (Linux)](#installing-pkg-config-linux)
26
+ - [Installing pkgconf (macOS)](#installing-pkgconf-macos)
27
+ - [Installing vcpkg (Windows)](#installing-vcpkg-windows)
24
28
  - [Quick Start](#quick-start)
25
29
  - [Prelude](#prelude)
26
30
  - [Standard Library](#standard-library)
@@ -151,6 +155,46 @@ $ sudo dnf install liburing-devel
151
155
  $ sudo pacman -S liburing
152
156
  ```
153
157
 
158
+ ### pkg-config / vcpkg Requirement
159
+
160
+ Yo's build system uses **pkg-config** (on Linux and macOS) or **vcpkg** (on Windows) to discover system C libraries when linking with external dependencies.
161
+
162
+ #### Installing pkg-config (Linux)
163
+
164
+ ```bash
165
+ # Ubuntu/Debian
166
+ $ sudo apt-get update
167
+ $ sudo apt-get install pkg-config
168
+
169
+ # Fedora/RHEL
170
+ $ sudo dnf install pkgconf-pkg-config
171
+
172
+ # Arch Linux
173
+ $ sudo pacman -S pkgconf
174
+ ```
175
+
176
+ #### Installing pkgconf (macOS)
177
+
178
+ ```bash
179
+ # Homebrew
180
+ $ brew install pkgconf
181
+ ```
182
+
183
+ #### Installing vcpkg (Windows)
184
+
185
+ ```bash
186
+ # Using Git
187
+ $ git clone https://github.com/microsoft/vcpkg.git
188
+ $ .\vcpkg\bootstrap-vcpkg.bat
189
+
190
+ # Then set the VCPKG_ROOT environment variable to the vcpkg directory
191
+
192
+ # Or using Scoop
193
+ $ scoop install vcpkg
194
+ ```
195
+
196
+ For more information, see the [vcpkg documentation](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started).
197
+
154
198
  ## Quick Start
155
199
 
156
200
  ```bash