Skip to content

Commit

Permalink
Simplify build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Dec 7, 2023
1 parent 4f7a182 commit fb511c3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docs/Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,15 @@

aka. bootstrapping

### Expected folder structure

The "Soup" and "Sun" repository folders should have the same parent.

### On Windows

Use the Visual Studio 2022 project to build Soup as a static lib, then build Sun.

### On Linux

```
cd Soup
php build_lib.php
cd ..
cd Sun
clang -o suncli Sun/sun.cpp -I../Soup ../Soup/libsoup.a -std=c++20 -fuse-ld=lld -lstdc++ -lstdc++fs -pthreads
php Sun/vendor/Soup/build_lib.php
clang -o suncli Sun/sun.cpp -ISun/vendor/Soup libsoup.a -std=c++17 -fuse-ld=lld -lstdc++ -lstdc++fs -pthreads
```

You can then use the following command to make the "suncli" executable globally available as "sun":
Expand Down

0 comments on commit fb511c3

Please sign in to comment.