From c4a607f6607d1c5c527224b1a174e1a881cfc0ad Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Wed, 25 Dec 2024 21:22:34 +0000 Subject: [PATCH] Add assimp --- compile | 4 ++-- src/assimp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 160000 src/assimp diff --git a/compile b/compile index 09463bf..7e5c694 100755 --- a/compile +++ b/compile @@ -3,8 +3,8 @@ CC=clang CFLAGS="-g -c -Wall -Isrc/glad/include" CXX=clang++ -CXXFLAGS="-g -Wall -std=c++20 $(pkg-config --cflags sdl2) -Isrc/glad/include -Isrc/glm" -LIBS="$(pkg-config --libs sdl2) -ldl" +CXXFLAGS="-g -Wall -std=c++20 $(pkg-config --cflags sdl2) -Isrc/glad/include -Isrc/glm -Isrc/assimp/build/include" +LIBS="$(pkg-config --libs sdl2) -ldl -Lsrc/assimp/build/lib -lassimp" GLAD_SRC="src/glad/src/glad.c" GLAD_OBJ="glad.o" SRC="src/*.cc $GLAD_OBJ src/glm/glm/glm.cppm" diff --git a/src/assimp b/src/assimp new file mode 160000 index 0000000..258cdfd --- /dev/null +++ b/src/assimp @@ -0,0 +1 @@ +Subproject commit 258cdfd2bc29a920bbe749962abbcd58caa76422