update premakes for spdlog changes

This commit is contained in:
Sri Sham Haran 2022-09-14 09:14:18 +08:00
parent cba3aa0663
commit a3e4b0a845
3 changed files with 11 additions and 6 deletions

View File

@ -14,6 +14,7 @@ project "SHADE_Application"
files files
{ {
"%{prj.location}/src/**.h", "%{prj.location}/src/**.h",
"%{prj.location}/src/**.hpp",
"%{prj.location}/src/**.c", "%{prj.location}/src/**.c",
"%{prj.location}/src/**.cpp", "%{prj.location}/src/**.cpp",
"%{prj.location}/src/**.glsl", "%{prj.location}/src/**.glsl",
@ -34,7 +35,12 @@ project "SHADE_Application"
links links
{ {
"SHADE_Engine" "SHADE_Engine",
}
libdirs
{
"%{IncludeDir.spdlog}/lib",
} }
postbuildcommands postbuildcommands
@ -46,7 +52,9 @@ project "SHADE_Application"
filter "configurations:Debug" filter "configurations:Debug"
symbols "On" symbols "On"
defines {"_DEBUG"} defines {"_DEBUG"}
links{"spdlogd.lib"}
filter "configurations:Release" filter "configurations:Release"
optimize "On" optimize "On"
defines{"_RELEASE"} defines{"_RELEASE"}
links{"spdlog.lib"}

View File

@ -56,7 +56,6 @@ project "SHADE_Engine"
"msdf-atlas-gen", "msdf-atlas-gen",
"reactphysics3d", "reactphysics3d",
"imgui", "imgui",
"spdlog",
"vulkan-1.lib", "vulkan-1.lib",
"shaderc_shared.lib" "shaderc_shared.lib"
} }
@ -82,7 +81,6 @@ project "SHADE_Engine"
"msdf-atlas-gen", "msdf-atlas-gen",
"reactphysics3d", "reactphysics3d",
"imgui", "imgui",
"spdlog",
} }
warnings 'Extra' warnings 'Extra'

View File

@ -24,7 +24,6 @@ workspace "SHADE"
group "Dependencies" group "Dependencies"
include "Dependencies/msdf" include "Dependencies/msdf"
include "Dependencies/imgui" include "Dependencies/imgui"
include "Dependencies/spdlog"
--include "Dependencies/tracy" --include "Dependencies/tracy"
include "Dependencies/yamlcpp" include "Dependencies/yamlcpp"
include "Dependencies/reactphysics3d" include "Dependencies/reactphysics3d"