i have no idea what im doing.jpg

pch/compnerd_cmake_integration
Pat Hickey 5 years ago
parent 481c967201
commit 15675d339e

@ -52,14 +52,14 @@ build/llvm.BUILT:
touch build/llvm.BUILT
build/wasi-libc.BUILT: build/llvm.BUILT
cmake -G Ninja \
mkdir -p build/wasi-libc
cd build/wasi-libc; cmake -G Ninja \
-DCMAKE_SYSTEM_NAME=Generic \
-DCMAKE_AR=$(PREFIX)/bin/ar \
-DCMAKE_NM=$(PREFIX)/bin/nm \
-DCMAKE_C_COMPILER=$(PREFIX)/bin/clang \
-DCMAKE_C_COMPILER_WORKS=YES \
-B build/wasi-libc \
-S $(ROOT_DIR)/src/wasi-libc
$(ROOT_DIR)/src/wasi-libc
ninja $(NINJA_FLAGS) -v -C build/wasi-libc \
install
touch build/wasi-libc.BUILT

Loading…
Cancel
Save