2022-11-04 13:14:53 +00:00
|
|
|
include("libraries")
|
|
|
|
print("Using Premake version ", _PREMAKE_VERSION)
|
|
|
|
|
|
|
|
workspace "Yoggie GameEngine"
|
2023-05-13 18:13:25 +00:00
|
|
|
configurations { "Debug", "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
|
|
|
|
2023-05-13 18:13:25 +00:00
|
|
|
targetdir "%{wks.location}/libs/%{prj.name}/build/%{cfg.buildcfg}"
|
|
|
|
objdir "%{wks.location}/libs/%{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-11-05 16:17:08 +00:00
|
|
|
|
|
|
|
defines{
|
|
|
|
" _CRT_SECURE_NO_WARNINGS",
|
2023-01-31 17:41:46 +00:00
|
|
|
"GLFW_STATIC"
|
2022-11-05 16:17:08 +00:00
|
|
|
}
|
|
|
|
|
2022-05-27 20:47:36 +00:00
|
|
|
filter "configurations:Debug"
|
2023-05-13 19:32:55 +00:00
|
|
|
defines {"DEBUG", "_DEBUG"}
|
2022-05-27 20:47:36 +00:00
|
|
|
symbols "On"
|
|
|
|
|
|
|
|
filter "configurations:Release"
|
2023-05-13 19:32:55 +00:00
|
|
|
defines {"NDEBUG", "_DEBUG"}
|
2022-05-27 20:47:36 +00:00
|
|
|
optimize "On"
|
|
|
|
|
2022-10-22 12:58:55 +00:00
|
|
|
|
2022-11-05 19:14:36 +00:00
|
|
|
|
2022-11-04 13:14:53 +00:00
|
|
|
include("./YoggieEngine")
|
2022-10-22 12:58:55 +00:00
|
|
|
include ("./Editor")
|
2023-05-13 18:13:25 +00:00
|
|
|
include ("./Tests")
|
2022-11-04 13:14:53 +00:00
|
|
|
|
|
|
|
group("Other")
|
2023-05-13 18:13:25 +00:00
|
|
|
include("./SandboxApp")
|
2022-11-04 13:14:53 +00:00
|
|
|
|
|
|
|
group("Libraries")
|
2023-05-13 18:13:25 +00:00
|
|
|
include('libs/ImGui')
|
|
|
|
include("libs/guizmo")
|
|
|
|
include("libs/yaml-cpp")
|
2022-11-05 19:14:36 +00:00
|
|
|
|
|
|
|
|