55 lines
No EOL
912 B
Lua
55 lines
No EOL
912 B
Lua
project "Engine"
|
|
|
|
-- Output Directories --
|
|
location "%{wks.location}/Engine/"
|
|
|
|
targetdir ("%{wks.location}/bin/" .. outputdir)
|
|
objdir ("%{wks.location}/bin-int/" .. outputdir)
|
|
|
|
-- Compiler --
|
|
kind "StaticLib"
|
|
language "C++"
|
|
cppdialect "C++17"
|
|
staticruntime "on"
|
|
|
|
-- Project Files ---
|
|
files
|
|
{
|
|
"%{prj.location}/src/**.h",
|
|
"%{prj.location}/src/**.cpp",
|
|
"%{prj.location}/**.lua",
|
|
}
|
|
|
|
-- Dependencies --
|
|
includedirs
|
|
{
|
|
"%{prj.location}/src/Engine/",
|
|
|
|
(dependenciesdir .. "spdlog/include/"),
|
|
}
|
|
|
|
links
|
|
{
|
|
"GLFW",
|
|
}
|
|
|
|
--- 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" |