light/Sandbox/premake5.lua

59 lines
1,011 B
Lua
Raw Normal View History

2021-05-20 11:49:24 +04:30
project "Sandbox"
-- Output Directories --
2021-05-21 15:00:29 +04:30
location "%{wks.location}/Sandbox/"
2021-05-20 11:49:24 +04:30
2021-05-21 15:00:29 +04:30
targetdir ("%{wks.location}/bin/" .. outputdir)
objdir ("%{wks.location}/bin-int/" .. outputdir)
2021-05-20 11:49:24 +04:30
-- Compiler --
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
staticruntime "on"
-- Project Files ---
files
{
"%{prj.location}/src/**.h",
"%{prj.location}/src/**.cpp",
"%{prj.location}/**.lua",
}
-- Dependencies --
includedirs
{
2021-05-21 10:55:39 +04:30
-- Engine
2021-05-20 11:49:24 +04:30
"%{wks.location}/Engine/src",
2021-05-21 10:55:39 +04:30
"%{wks.location}/Engine/src/Engine",
-- 3rd party
(dependenciesdir .. "spdlog/include/"),
2021-05-25 18:35:52 +04:30
(dependenciesdir .. "glm/"),
2021-05-20 11:49:24 +04:30
}
links
{
"Engine",
}
--- Filters ---
-- windows
filter "system:windows"
defines "LT_PLATFORM_WINDOWS"
systemversion "latest"
-- debug
filter "configurations:Debug"
defines "LT_DEBUG"
symbols "on"
-- release
filter "configurations:Release"
defines "LT_RELEASE"
optimize "on"
-- distribution
filter "configurations:Distribution"
defines "LT_DIST"
optimize "on"