SHADE_Y3/SHADE_Application/premake5.lua

50 lines
889 B
Lua
Raw Normal View History

2022-08-26 14:04:03 +08:00
project "SHADE_Application"
2022-09-05 15:29:02 +08:00
kind "WindowedApp"
2022-08-26 14:04:03 +08:00
language "C++"
cppdialect "C++20"
targetdir (outputdir)
objdir (interdir)
2022-08-26 14:04:03 +08:00
systemversion "latest"
pchheader "SBpch.h"
pchsource "%{prj.location}/src/SBpch.cpp"
staticruntime "off"
2022-09-08 19:11:25 +08:00
entrypoint "wWinMainCRTStartup"
2022-09-05 15:29:02 +08:00
system ("windows")
2022-08-26 14:04:03 +08:00
files
{
"%{prj.location}/src/**.h",
2022-09-14 09:14:18 +08:00
"%{prj.location}/src/**.hpp",
2022-08-26 14:04:03 +08:00
"%{prj.location}/src/**.c",
"%{prj.location}/src/**.cpp",
"%{prj.location}/src/**.glsl",
}
includedirs
{
"%{IncludeDir.spdlog}/include",
2022-08-26 14:30:41 +08:00
"../SHADE_Engine/src",
"src",
"%{IncludeDir.dotnet}/include",
2022-08-26 14:04:03 +08:00
}
flags
{
"MultiProcessorCompile"
}
links
{
2022-09-14 09:14:18 +08:00
"SHADE_Engine",
2022-08-26 14:04:03 +08:00
}
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
filter "configurations:Release"
optimize "On"
2022-09-14 09:14:18 +08:00
defines{"_RELEASE"}