53 lines
No EOL
831 B
Lua
53 lines
No EOL
831 B
Lua
project "Sandbox"
|
|
|
|
-- Output Directories --
|
|
location "../Sandbox/"
|
|
|
|
targetdir ("../bin/" .. outputdir)
|
|
objdir ("../bin-int/" .. outputdir)
|
|
|
|
-- 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
|
|
{
|
|
"%{wks.location}/Engine/src",
|
|
}
|
|
|
|
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" |