From ad92055fdca5ede09c20eca1b6ea938a56e970dd Mon Sep 17 00:00:00 2001 From: Jenwein Date: Mon, 10 Mar 2025 22:05:00 +0800 Subject: [PATCH] =?UTF-8?q?[EDIT]=E5=88=87=E6=8D=A2=E5=88=B0=E6=97=A7?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BB=A5=E4=BE=BF=E4=BA=8E=E4=BD=BF=E7=94=A8?= =?UTF-8?q?keymap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 +++++ premake5.lua | 29 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 premake5.lua diff --git a/.gitignore b/.gitignore index f632636e0..451b92ba1 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,8 @@ examples/example_sdl2_metal/example_sdl2_metal examples/example_sdl2_opengl2/example_sdl2_opengl2 examples/example_sdl2_opengl3/example_sdl2_opengl3 examples/example_sdl2_sdlrenderer/example_sdl2_sdlrenderer + +## Razel +bin/ +bin-int/ +*.vcxproj \ No newline at end of file diff --git a/premake5.lua b/premake5.lua new file mode 100644 index 000000000..38d4b5485 --- /dev/null +++ b/premake5.lua @@ -0,0 +1,29 @@ +project "ImGui" + kind "StaticLib" + language "C++" + + targetdir ("bin/" .. outputdir .. "/%{prj.name}") + objdir ("bin-int/" .. outputdir .. "/%{prj.name}") + + files + { + "imconfig.h", + "imgui.h", + "imgui.cpp", + "imgui_draw.cpp", + "imgui_internal.h", + "imgui_widgets.cpp", + "imstb_rectpack.h", + "imstb_textedit.h", + "imstb_truetype.h", + "imgui_tables.cpp", + "imgui_demo.cpp" + } + + filter "system:windows" + systemversion "latest" + cppdialect "C++17" + staticruntime "On" + + filter { "system:windows", "configurations:Release" } + buildoptions "/MT"