SHADE_Y3/SHADE_Application/premake5.lua

50 lines
889 B
Lua

project "SHADE_Application"
kind "WindowedApp"
language "C++"
cppdialect "C++20"
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",
}
flags
{
"MultiProcessorCompile"
}
links
{
"SHADE_Engine",
}
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
filter "configurations:Release"
optimize "On"
defines{"_RELEASE"}