2022-11-04 13:14:53 +00:00
|
|
|
include("libraries")
|
|
|
|
print("Using Premake version ", _PREMAKE_VERSION)
|
|
|
|
|
|
|
|
workspace "Yoggie GameEngine"
|
2021-09-29 18:14:27 +00:00
|
|
|
configurations { "Debug", "Test", "Release" }
|
2022-05-27 20:47:36 +00:00
|
|
|
|
2022-04-20 19:40:35 +00:00
|
|
|
language "C++"
|
|
|
|
cppdialect "C++17"
|
2022-04-30 20:51:50 +00:00
|
|
|
architecture "x86_64"
|
2021-05-22 19:50:20 +00:00
|
|
|
|
2022-10-22 12:58:55 +00:00
|
|
|
targetdir "./%{prj.name}/build/%{cfg.buildcfg}"
|
2022-11-03 09:42:57 +00:00
|
|
|
objdir "./%{prj.name}/build/%{cfg.buildcfg}/intermediates/"
|
2022-10-22 12:58:55 +00:00
|
|
|
|
2022-11-04 13:14:53 +00:00
|
|
|
startproject("Editor")
|
2022-10-22 12:58:55 +00:00
|
|
|
|
2022-05-27 20:47:36 +00:00
|
|
|
filter "configurations:Debug"
|
|
|
|
defines {"DEBUG"}
|
|
|
|
symbols "On"
|
|
|
|
|
|
|
|
filter "configurations:Release"
|
|
|
|
defines {"NDEBUG"}
|
|
|
|
optimize "On"
|
|
|
|
|
2022-10-22 12:58:55 +00:00
|
|
|
|
2022-11-04 13:14:53 +00:00
|
|
|
include("./YoggieEngine")
|
2022-10-22 12:58:55 +00:00
|
|
|
include ("./Editor")
|
2022-11-04 13:14:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
group("Other")
|
|
|
|
includeexternal("./SandboxApp")
|
|
|
|
includeexternal("./Runtime")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
group("Libraries")
|
|
|
|
include('../ImGui')
|
|
|
|
include("../ImGuizmo")
|