51 lines
874 B
Lua
51 lines
874 B
Lua
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/src",
|
|
"src"
|
|
}
|
|
|
|
flags
|
|
{
|
|
"MultiProcessorCompile"
|
|
}
|
|
|
|
links
|
|
{
|
|
"SHADE_Engine"
|
|
}
|
|
|
|
postbuildcommands
|
|
{
|
|
}
|
|
|
|
warnings 'Extra'
|
|
|
|
filter "configurations:Debug"
|
|
symbols "On"
|
|
defines {"_DEBUG"}
|
|
|
|
filter "configurations:Release"
|
|
optimize "On"
|
|
defines{"_RELEASE"} |