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++"
|
2022-09-15 01:51:04 +08:00
|
|
|
cppdialect "C++20"
|
2022-09-13 20:35:30 +08:00
|
|
|
targetdir (outputdir)
|
|
|
|
objdir (interdir)
|
2022-08-26 14:04:03 +08:00
|
|
|
systemversion "latest"
|
|
|
|
pchheader "SBpch.h"
|
|
|
|
pchsource "%{prj.location}/src/SBpch.cpp"
|
2022-09-13 15:18:56 +08:00
|
|
|
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-09 13:28:57 +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
|
|
|
|
{
|
2022-08-26 14:30:41 +08:00
|
|
|
"../SHADE_Engine/src",
|
2022-09-13 21:08:13 +08:00
|
|
|
"src",
|
|
|
|
"%{IncludeDir.dotnet}/include",
|
2022-09-14 21:47:39 +08:00
|
|
|
"%{IncludeDir.SDL}/include",
|
2022-08-26 14:04:03 +08:00
|
|
|
}
|
2022-09-14 19:44:01 +08:00
|
|
|
|
|
|
|
externalincludedirs
|
|
|
|
{
|
2022-09-26 15:53:54 +08:00
|
|
|
"%{IncludeDir.spdlog}/include",
|
|
|
|
"%{IncludeDir.VULKAN}/include",
|
|
|
|
"%{IncludeDir.VMA}/include",
|
|
|
|
"%{IncludeDir.VULKAN}/Source/SPIRV-Reflect",
|
|
|
|
"%{IncludeDir.RTTR}/include"
|
2022-09-14 19:44:01 +08:00
|
|
|
}
|
2022-08-26 14:04:03 +08:00
|
|
|
|
2022-09-14 19:44:01 +08:00
|
|
|
externalwarnings "Off"
|
|
|
|
|
2022-08-26 14:04:03 +08:00
|
|
|
flags
|
|
|
|
{
|
|
|
|
"MultiProcessorCompile"
|
|
|
|
}
|
|
|
|
|
|
|
|
links
|
|
|
|
{
|
2022-09-13 15:18:56 +08:00
|
|
|
"SHADE_Engine",
|
2022-09-15 11:43:03 +08:00
|
|
|
"SHADE_Managed",
|
2022-09-14 21:47:39 +08:00
|
|
|
"SDL2.lib",
|
|
|
|
"SDL2main.lib"
|
2022-08-26 14:04:03 +08:00
|
|
|
}
|
|
|
|
|
2022-09-14 09:14:18 +08:00
|
|
|
libdirs
|
2022-08-26 14:04:03 +08:00
|
|
|
{
|
2022-09-14 09:14:18 +08:00
|
|
|
"%{IncludeDir.spdlog}/lib",
|
2022-09-14 21:47:39 +08:00
|
|
|
"%{IncludeDir.SDL}/lib",
|
2022-08-26 14:04:03 +08:00
|
|
|
}
|
2022-09-09 11:20:38 +08:00
|
|
|
|
|
|
|
defines
|
|
|
|
{
|
|
|
|
"NOMINMAX"
|
|
|
|
}
|
2022-08-26 14:04:03 +08:00
|
|
|
|
2022-09-15 11:33:40 +08:00
|
|
|
disablewarnings
|
|
|
|
{
|
|
|
|
"4251"
|
2022-08-26 14:04:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
warnings 'Extra'
|
|
|
|
|
|
|
|
filter "configurations:Debug"
|
|
|
|
symbols "On"
|
2022-09-25 22:33:07 +08:00
|
|
|
defines {"_DEBUG", "SHEDITOR"}
|
2022-08-26 14:04:03 +08:00
|
|
|
|
|
|
|
filter "configurations:Release"
|
2022-09-25 22:33:07 +08:00
|
|
|
optimize "On"
|
|
|
|
defines{"_RELEASE", "SHEDITOR"}
|
|
|
|
|
|
|
|
filter "configurations:Publish"
|
2022-08-26 14:04:03 +08:00
|
|
|
optimize "On"
|
2022-09-14 09:14:18 +08:00
|
|
|
defines{"_RELEASE"}
|