From 12ed7ce12514449a50d91411a2013a0383ec260c Mon Sep 17 00:00:00 2001 From: anulax1225 Date: Tue, 18 Jun 2024 23:26:03 +0200 Subject: [PATCH] Added premake5 config to docking branch --- package.json | 14 ++++++++++++++ premake5.lua | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 package.json create mode 100644 premake5.lua diff --git a/package.json b/package.json new file mode 100644 index 00000000..e29028fb --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "ImGui", + "author": "anulax1225", + "git": "https://github.com/anulax1225/imgui", + "links": + [ + "ImGui" + ], + "includes": + [ + "imgui" + ], + "packages":[] +} diff --git a/premake5.lua b/premake5.lua new file mode 100644 index 00000000..09e6fb23 --- /dev/null +++ b/premake5.lua @@ -0,0 +1,37 @@ +project "ImGui" + kind "StaticLib" + language "C++" + systemversion "latest" + cppdialect "C++17" + staticruntime "On" + + targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") + objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") + + files + { + "%{prj.location}/imconfig.h", + "%{prj.location}/imgui.h", + "%{prj.location}/imgui.cpp", + "%{prj.location}/imgui_draw.cpp", + "%{prj.location}/imgui_internal.h", + "%{prj.location}/imgui_widgets.cpp", + "%{prj.location}/imstb_rectpack.h", + "%{prj.location}/imstb_textedit.h", + "%{prj.location}/imstb_truetype.h", + "%{prj.location}/imgui_demo.cpp", + "%{prj.location}/imgui_tables.cpp", + + } + + + filter "system:linux" + pic "On" + + filter "configurations:Debug" + runtime "Debug" + symbols "on" + + filter "configurations:Release" + runtime "Release" + optimize "on" \ No newline at end of file