Adding ImGuizmo submodule

This commit is contained in:
Nigel Barink 2022-11-03 10:42:57 +01:00
parent 65ae892951
commit 3e75406783
5 changed files with 25 additions and 1 deletions

3
.gitmodules vendored
View File

@ -31,3 +31,6 @@
[submodule "libs/entt"] [submodule "libs/entt"]
path = libs/entt path = libs/entt
url = https://github.com/skypjack/entt.git url = https://github.com/skypjack/entt.git
[submodule "libs/guizmo"]
path = libs/guizmo
url = https://github.com/CedricGuillemet/ImGuizmo.git

View File

@ -60,3 +60,4 @@ project "BarinkEngine"
} }
include('../ImGui') include('../ImGui')
include("../ImGuizmo")

19
ImGuizmo/premake5.lua Normal file
View File

@ -0,0 +1,19 @@
project "ImGuizmo"
kind "StaticLib"
includedirs {
"../libs/glfw/include",
"../libs/ImGui",
"../libs/guizmo"
}
files {
"../libs/guizmo/*.cpp",
}
libdirs{
"../libs/ImGui",
"../libs/glad"
}
include("../ImGui")

1
libs/guizmo Submodule

@ -0,0 +1 @@
Subproject commit 664cf2d73864a36b2a8b5091d33fc4578c885eca

View File

@ -6,7 +6,7 @@ workspace "BarinkEngine"
architecture "x86_64" architecture "x86_64"
targetdir "./%{prj.name}/build/%{cfg.buildcfg}" targetdir "./%{prj.name}/build/%{cfg.buildcfg}"
objdir "./%{prj.name}/%{cfg.buildcfg}/intermediates/" objdir "./%{prj.name}/build/%{cfg.buildcfg}/intermediates/"
startproject("SandboxApp") startproject("SandboxApp")