Files
novaos/util/gen-clangd.sh

16 lines
269 B
Bash
Executable File

#!/bin/sh
# This must be built with `make env` in the root folder
# otherwises the paths will be incorrect
echo "CompileFlags:
Add:
- \"--sysroot=$(pwd)/sysroot\"
- \"-ffreestanding\"
- \"-Wpedantic\"
- \"-Werror\"
- \"-Wall\"
- \"-Wextra\"
" > .clangd