SHADE_Y3/SHADE_Application/premake5.lua

51 lines
874 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}",
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
{
}
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
filter "configurations:Release"
optimize "On"
defines{"_RELEASE"}