SHADE_Y3/SHADE_Application/premake5.lua

60 lines
1.1 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 ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
systemversion "latest"
pchheader "SBpch.h"
pchsource "%{prj.location}/src/SBpch.cpp"
staticruntime "on"
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",
"%{prj.location}/src/**.hpp",
"%{prj.location}/src/**.c",
2022-08-26 14:04:03 +08:00
"%{prj.location}/src/**.cpp",
"%{prj.location}/src/**.glsl",
}
includedirs
{
"%{IncludeDir.spdlog}/include",
2022-09-09 11:20:38 +08:00
"%{IncludeDir.VULKAN}/include",
"%{IncludeDir.VMA}/include",
"%{IncludeDir.VULKAN}/Source/SPIRV-Reflect",
2022-08-26 14:30:41 +08:00
"../SHADE_Engine/src",
2022-08-26 14:04:03 +08:00
"src"
}
flags
{
"MultiProcessorCompile"
}
links
{
2022-08-26 14:30:41 +08:00
"SHADE_Engine"
2022-08-26 14:04:03 +08:00
}
postbuildcommands
{
}
2022-09-09 11:20:38 +08:00
defines
{
"NOMINMAX"
}
2022-08-26 14:04:03 +08:00
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
filter "configurations:Release"
optimize "On"
defines{"_RELEASE"}