SHADE_Y3/SHADE_Application/premake5.lua

53 lines
933 B
Lua
Raw Normal View History

2022-08-26 14:04:03 +08:00
project "SHADE_Application"
kind "ConsoleApp"
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"
files
{
"%{prj.location}/src/**.h",
"%{prj.location}/src/**.c",
"%{prj.location}/src/**.cpp",
"%{prj.location}/src/**.glsl",
}
includedirs
{
"%{IncludeDir.GLFW}",
"%{IncludeDir.GLAD}",
"../SHADE_Engine_y2/src",
"../SHADE_Editor_y2/src",
"src"
}
flags
{
"MultiProcessorCompile"
}
links
{
"SHADE_Engine_y2",
"SHADE_Editor_y2"
}
postbuildcommands
{
}
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
filter "configurations:Release"
optimize "On"
defines{"_RELEASE"}