added dependencies to readme

This commit is contained in:
Sarah Faey 2024-09-24 22:40:39 +02:00
parent 92d8faae1e
commit 3a43c622ca
2 changed files with 8 additions and 0 deletions

View file

@ -22,3 +22,9 @@ git config --global core.sshCommand 'ssh -p 222 -i ~/.ssh/git'
-i is only needed for a non standard ssh-key name
the global flag is optional and shouldn't be used for the sshCommand of other git servers are also used
the ssh setup only works for repositories which have been cloned via ssh
install dependencies on openSuse:
sudo zypper install SDL2*-devel
sudo zypper install rapidjson-devel
other linker:
sudo zypper install binutils-gold

View file

@ -8,6 +8,7 @@ project "Template"
language "C++"
targetdir "_bin/%{cfg.buildcfg}"
objdir "_obj/%{cfg.buildcfg}"
cppdialect "C++20"
files { "**.h", "**.cpp" }
@ -16,6 +17,7 @@ project "Template"
symbols "On"
links { "SDL2", "SDL2_image", "SDL2_ttf" }
--links { "SDL2", "SDL2_image", "GL", "GLEW", "SOIL", "fmod", "fmodstudio", "SDL2_ttf" }
--linkoptions { "-fuse-ld=gold" } --other linker
--libdirs { "../External/FMOD/lib/x86_64" }
--includedirs { "../External/FMOD/inc" }