YoggieEngine/premake5.lua

45 lines
815 B
Lua
Raw Permalink Normal View History

include("libraries")
print("Using Premake version ", _PREMAKE_VERSION)
workspace "Yoggie GameEngine"
configurations { "Debug", "Release" }
language "C++"
cppdialect "C++17"
2022-04-30 20:51:50 +00:00
architecture "x86_64"
targetdir "%{wks.location}/libs/%{prj.name}/build/%{cfg.buildcfg}"
objdir "%{wks.location}/libs/%{prj.name}/build/%{cfg.buildcfg}/intermediates/"
startproject("Editor")
2022-11-05 16:17:08 +00:00
defines{
" _CRT_SECURE_NO_WARNINGS",
"GLFW_STATIC"
2022-11-05 16:17:08 +00:00
}
filter "configurations:Debug"
defines {"DEBUG", "_DEBUG"}
symbols "On"
filter "configurations:Release"
defines {"NDEBUG", "_DEBUG"}
optimize "On"
include("./YoggieEngine")
include ("./Editor")
include ("./Tests")
group("Other")
include("./SandboxApp")
group("Libraries")
include('libs/ImGui')
include("libs/guizmo")
include("libs/yaml-cpp")