Skip to content

Commit 9c3f18c

Browse files
authored
Simplify build instructions in README
Updated build instructions to simplify the compilation process.
1 parent fa0c124 commit 9c3f18c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,11 @@ git clone https://github.com/deadlightreal/SwiftNet
2828
```bash
2929
cd SwiftNet/build
3030
```
31-
3. Generate the build files using CMake:
31+
3. Compile:
3232
```bash
33-
cmake ../src
33+
./build_for_release.sh
3434
```
35-
4. Build the project using Make:
36-
```bash
37-
make
38-
```
39-
5. To use SwiftNet in your project:
35+
4. To use SwiftNet in your project:
4036
- Include the SwiftNet.h header from the `src` directory in your main source file (e.g., `main.c`).
4137
- Link against the static library `libswiftnet.a` using your compiler.
4238

0 commit comments

Comments
 (0)