From 3a43c622ca6dc04d4473f951bd78246a5f3e16b0 Mon Sep 17 00:00:00 2001 From: Sarah Faey Date: Tue, 24 Sep 2024 22:40:39 +0200 Subject: [PATCH] added dependencies to readme --- README.md | 6 ++++++ premake5.lua | 2 ++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index f13ff8b..92f25be 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/premake5.lua b/premake5.lua index 862bd90..70a0239 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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" }