Commit 75b766d
committed
build: add cmake based build infrastructure
Rather than rely on make, use CMake to generate the rules in the build
system of choice. This allows building with `make` or `ninja`, and
enables building the WASI libc on Windows.
```
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang -DCMAKE_SYSTEM_NAME=wasi -DCMAKE_MODULE_PATH=cmake/Modules
ninja -C build install
```1 parent a280fea commit 75b766d
2 files changed
+1118
-0
lines changed
0 commit comments