Skip to content

Commit 262b758

Browse files
authored
Update premake5.lua
1 parent 9ec8ee8 commit 262b758

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

premake5.lua

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
11
project "imgui"
22
kind "StaticLib"
33
language "C++"
4+
staticruntime "off"
45

56
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
67
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
78

89
files
910
{
10-
"imgui/imconfig.h",
11-
"imgui/imgui.h",
12-
"imgui/imgui.cpp",
13-
"imgui/imgui_draw.cpp",
14-
"imgui/imgui_internal.h",
15-
"imgui/imgui_widgets.cpp",
16-
"imgui/imstb_rectpack.h",
17-
"imgui/imstb_textedit.h",
18-
"imgui/imstb_truetype.h",
19-
"imgui/imgui_demo.cpp"
11+
"imconfig.h",
12+
"imgui.h",
13+
"imgui.cpp",
14+
"imgui_draw.cpp",
15+
"imgui_internal.h",
16+
"imgui_widgets.cpp",
17+
"imstb_rectpack.h",
18+
"imstb_textedit.h",
19+
"imstb_truetype.h",
20+
"imgui_demo.cpp"
2021
}
2122

2223
filter "system:windows"
2324
systemversion "latest"
2425
cppdialect "C++17"
25-
staticruntime "On"
26+
staticruntime "off"
2627

2728
filter "system:linux"
2829
pic "On"
2930
systemversion "latest"
3031
cppdialect "C++17"
31-
staticruntime "On"
32+
staticruntime "off"
3233

3334
filter "configurations:Debug"
3435
runtime "Debug"
3536
symbols "on"
3637

3738
filter "configurations:Release"
3839
runtime "Release"
39-
optimize "on"
40+
optimize "on"
41+
symbols "off"

0 commit comments

Comments
 (0)