97 lines
1.7 KiB
Lua
97 lines
1.7 KiB
Lua
project "SHADE_Application"
|
|
kind "WindowedApp"
|
|
language "C++"
|
|
cppdialect "C++20"
|
|
targetdir (outputdir)
|
|
objdir (interdir)
|
|
systemversion "latest"
|
|
pchheader "SBpch.h"
|
|
pchsource "%{prj.location}/src/SBpch.cpp"
|
|
staticruntime "off"
|
|
entrypoint "wWinMainCRTStartup"
|
|
system ("windows")
|
|
|
|
files
|
|
{
|
|
"%{prj.location}/src/**.h",
|
|
"%{prj.location}/src/**.hpp",
|
|
"%{prj.location}/src/**.c",
|
|
"%{prj.location}/src/**.cpp",
|
|
"%{prj.location}/src/**.glsl",
|
|
}
|
|
|
|
includedirs
|
|
{
|
|
"../SHADE_Engine/src",
|
|
"src",
|
|
"%{IncludeDir.dotnet}/include",
|
|
"%{IncludeDir.SDL}/include",
|
|
}
|
|
|
|
externalincludedirs
|
|
{
|
|
"%{IncludeDir.RTTR}\\include",
|
|
"%{IncludeDir.fmod}/include",
|
|
"%{IncludeDir.VULKAN}/Source/SPIRV-Reflect",
|
|
"%{IncludeDir.VMA}/include",
|
|
"%{IncludeDir.VULKAN}/include",
|
|
"%{IncludeDir.spdlog}/include",
|
|
"%{IncludeDir.tinyddsloader}",
|
|
"%{IncludeDir.reactphysics3d}\\include",
|
|
"%{IncludeDir.yamlcpp}"
|
|
}
|
|
|
|
externalwarnings "Off"
|
|
|
|
flags
|
|
{
|
|
"MultiProcessorCompile"
|
|
}
|
|
|
|
links
|
|
{
|
|
"SHADE_Engine",
|
|
"SHADE_Managed",
|
|
"yaml-cpp",
|
|
"SDL2.lib",
|
|
"SDL2main.lib"
|
|
}
|
|
|
|
libdirs
|
|
{
|
|
"%{IncludeDir.spdlog}/lib",
|
|
"%{IncludeDir.SDL}/lib"
|
|
}
|
|
|
|
defines
|
|
{
|
|
"NOMINMAX"
|
|
}
|
|
|
|
disablewarnings
|
|
{
|
|
"4251",
|
|
"26812",
|
|
"26439",
|
|
"26451",
|
|
"26437",
|
|
"4275",
|
|
"4635"
|
|
}
|
|
|
|
linkoptions { "-IGNORE:4006" }
|
|
|
|
warnings 'Extra'
|
|
|
|
filter "configurations:Debug"
|
|
symbols "On"
|
|
defines {"_DEBUG", "SHEDITOR"}
|
|
|
|
filter "configurations:Release"
|
|
optimize "On"
|
|
defines{"_RELEASE", "SHEDITOR"}
|
|
|
|
filter "configurations:Publish"
|
|
optimize "On"
|
|
defines{"_RELEASE", "_PUBLISH"}
|