initial commit

This commit is contained in:
2024-10-12 18:54:19 +01:00
commit 030e8d51af
43 changed files with 4614 additions and 0 deletions

21
configure.sh Executable file
View File

@@ -0,0 +1,21 @@
#/bin/bash
set -eu
script_path="$(realpath $0)"
root="$(dirname $script_path)"
pushd "$(dirname "$0")" > /dev/null
glfw_include=$(pkg-config --cflags glfw3)
gl_include=$(pkg-config --cflags gl)
cat > .clangd <<- EOF
CompileFlags:
Add:
- -DSK_VULKAN
- -I$root/vendor/rapidxml-1.13
- -I$root/vendor/skia
- -I$root/src
- $glfw_include
- $gl_include
EOF