SHADE_Y3/SHADE_Application/premake5.lua

65 lines
1.1 KiB
Lua

project "SHADE_Application"
kind "WindowedApp"
language "C++"
cppdialect "C++latest"
targetdir (outputdir)
objdir (interdir)
systemversion "latest"
pchheader "SBpch.h"
pchsource "%{prj.location}/src/SBpch.cpp"
staticruntime "off"
entrypoint "wWinMainCRTStartup"
system ("windows")
files
{
"%{prj.location}/src/**.h",
"%{prj.location}/src/**.hpp",
"%{prj.location}/src/**.c",
"%{prj.location}/src/**.cpp",
"%{prj.location}/src/**.glsl",
}
includedirs
{
"%{IncludeDir.spdlog}/include",
"../SHADE_Engine/src",
"src",
"%{IncludeDir.dotnet}/include",
"%{IncludeDir.SDL}/include",
}
flags
{
"MultiProcessorCompile"
}
links
{
"SHADE_Engine",
"SDL2.lib",
"SDL2main.lib"
}
libdirs
{
"%{IncludeDir.spdlog}/lib",
"%{IncludeDir.SDL}/lib",
}
postbuildcommands
{
}
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
links{"spdlogd.lib"}
filter "configurations:Release"
optimize "On"
defines{"_RELEASE"}
links{"spdlog.lib"}