SHADE_Y3/SHADE_Engine/premake5.lua

65 lines
1.2 KiB
Lua

project "SHADE_Engine"
kind "StaticLib"
language "C++"
cppdialect "C++latest"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
systemversion "latest"
pchheader "SHpch.h"
pchsource "%{prj.location}/src/SHpch.cpp"
staticruntime "on"
files
{
"%{prj.location}/src/**.h",
"%{prj.location}/src/**.c",
"%{prj.location}/src/**.cpp",
"%{prj.location}/src/**.glsl"
}
includedirs
{
"%{prj.location}/src",
"%{IncludeDir.GLFW}",
"%{IncludeDir.GLAD}",
"%{IncludeDir.stb_image}",
"%{IncludeDir.yaml_cpp}",
"%{IncludeDir.fmod}",
"%{IncludeDir.fmod_studio}",
"%{IncludeDir.Mono}",
"%{IncludeDir.msdf_atlas_gen}",
"%{IncludeDir.msdfgen}"
}
libdirs
{
"%{prj.location}/libs"
}
links
{
}
defines
{
"_LIB",
"_GLFW_INCLUDE_NONE",
"MSDFGEN_USE_CPP11"
}
flags
{
"MultiProcessorCompile"
}
warnings 'Extra'
filter "configurations:Debug"
symbols "On"
defines {"_DEBUG"}
links{"fmodstudioL_vc.lib", "fmodL_vc.lib"}
filter "configurations:Release"
optimize "On"
defines{"_RELEASE"}
links{"fmodstudio_vc.lib", "fmod_vc.lib"}