SHADE_Y3/SHADE_Application/premake5.lua

61 lines
1.0 KiB
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++latest"
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
}
2022-09-14 09:14:18 +08:00
libdirs
{
"%{IncludeDir.spdlog}/lib",
}
2022-08-26 14:04:03 +08:00
postbuildcommands
{
}
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
2022-09-14 09:14:18 +08:00
links{"spdlogd.lib"}
2022-08-26 14:04:03 +08:00
filter "configurations:Release"
optimize "On"
2022-09-14 09:14:18 +08:00
defines{"_RELEASE"}
links{"spdlog.lib"}