Skip to content

Commit

Permalink
Customization to premake file
Browse files Browse the repository at this point in the history
  • Loading branch information
Alesinx committed Apr 19, 2023
1 parent 781a4ff commit 27b8399
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions premake5.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
project "ImGui"
kind "StaticLib"
language "C++"
staticruntime "off"
cppdialect "C++20"
staticruntime "On"

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

files
{
Expand All @@ -23,22 +24,22 @@ project "ImGui"

filter "system:windows"
systemversion "latest"
cppdialect "C++17"
cppdialect "C++20"

filter "system:linux"
pic "On"
systemversion "latest"
cppdialect "C++17"
cppdialect "C++20"

filter "configurations:Debug"
runtime "Debug"
symbols "on"
symbols "On"

filter "configurations:Release"
runtime "Release"
optimize "on"
optimize "On"

filter "configurations:Dist"
filter "configurations:Dist"
runtime "Release"
optimize "on"
symbols "off"
optimize "On"
symbols "Off"

0 comments on commit 27b8399

Please sign in to comment.