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-28 21:30:57 +08:00
|
|
|
"%{IncludeDir.RTTR}\\include",
|
|
|
|
"%{IncludeDir.fmod}/include",
|
2022-09-24 19:13:23 +08:00
|
|
|
"%{IncludeDir.VULKAN}/Source/SPIRV-Reflect",
|
2022-09-28 21:30:57 +08:00
|
|
|
"%{IncludeDir.VMA}/include",
|
|
|
|
"%{IncludeDir.VULKAN}/include",
|
|
|
|
"%{IncludeDir.spdlog}/include",
|
2022-09-26 15:52:21 +08:00
|
|
|
"%{IncludeDir.tinyddsloader}",
|
2022-10-19 20:43:22 +08:00
|
|
|
"%{IncludeDir.reactphysics3d}\\include",
|
2022-11-14 10:11:47 +08:00
|
|
|
"%{IncludeDir.yamlcpp}",
|
|
|
|
"%{IncludeDir.msdf_atlas_gen}",
|
|
|
|
"%{IncludeDir.msdfgen}"
|
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-10-19 20:43:22 +08:00
|
|
|
"yaml-cpp",
|
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-28 21:30:57 +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
|
|
|
|
{
|
2022-10-01 18:58:13 +08:00
|
|
|
"4251",
|
|
|
|
"26812",
|
|
|
|
"26439",
|
|
|
|
"26451",
|
|
|
|
"26437",
|
2022-11-14 18:35:52 +08:00
|
|
|
"4275",
|
2022-11-21 12:14:07 +08:00
|
|
|
"4633",
|
|
|
|
"4634",
|
|
|
|
"4635",
|
|
|
|
"4638"
|
2022-08-26 14:04:03 +08:00
|
|
|
}
|
|
|
|
|
2022-10-01 18:58:13 +08:00
|
|
|
linkoptions { "-IGNORE:4006" }
|
|
|
|
|
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-28 17:22:22 +08:00
|
|
|
defines{"_RELEASE", "_PUBLISH"}
|